I’m trying to use ElixirLs Debugger on VSCode but once I drop a breakpoint inside a function and when I call it instead the debugger stop on the breakpoint I got:
:elixir_ls_expression_timeout
on my Debug console.
Anyone else passed through that?
I’m trying to use ElixirLs Debugger on VSCode but once I drop a breakpoint inside a function and when I call it instead the debugger stop on the breakpoint I got:
:elixir_ls_expression_timeout
on my Debug console.
Anyone else passed through that?
Are you setting an expression and could that expression be taking longer than 1 second? Currently there’s a hard-coded timeout of 1 second for expressions.
hey @mingyar.furtado , are you able to solve the
:elixir_ls_expression_timeout issue , I am also facing the same issue.
Unfortunately not @Earth-43.
But, what I’m using on my daily basis to debug is:
IO.inspect() and IO.inspecting(binding())
I hope that helps you as it helps me!
![]()
Just put up PR’s to make this configurable (and increases the default timeout to 10 seconds):
https://github.com/elixir-lsp/elixir-ls/pull/613
https://github.com/elixir-lsp/vscode-elixir-ls/pull/210
So this will be improved in the next release of ElixirLS
Thank you @axelson!