-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow configuring debugExpressionTimeoutMs (#613)
* Allow configuring debugExpressionTimeoutMs Rather than a hard-coded timeout of 1_000 ms for watch expressions, add `debugExpressionTimeoutMs` to the launch.json configuration options. In the next version of vscode-elixir-ls `debugExpressionTimeoutMs` will be supported in the launch.json autocomplete, but if you are running a version of ElixirLS that supports it before then you can add the key manually. Example mix test launch.json entry that uses this to set a timeout of 30 seconds: ``` { "type": "mix_task", "name": "mix test", "request": "launch", "debugExpressionTimeoutMs": 30000, "task": "test", "taskArgs": [ "--trace" ], "startApps": true, "projectDir": "${workspaceRoot}", "requireFiles": [ "test/**/test_helper.exs", "test/**/*_test.exs" ] } ``` Fixes #525 * Fix test
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters