Skip to content

Commit

Permalink
Use a debugging flag that doesn't keep the process running on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Dec 1, 2024
1 parent cbb6114 commit 733858f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/contributing/testing-and-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You should also turn off extensions like SCSS IntelliSense or Some Sass.

### Open the Dart DevTools

In this configuration, the client has run `dart run --observe` in the local `sass_language_server` package. You can now use [Dart DevTools](https://dart.dev/tools/dart-devtools) to debug the language server.
In this configuration, the client has run `dart run --enable-vm-service` in the local `sass_language_server` package. You can now use [Dart DevTools](https://dart.dev/tools/dart-devtools) to debug the language server.

To find the link to open Dart DevTools, use the `[Extension Development Host]`.

Expand Down
2 changes: 1 addition & 1 deletion extension/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function createServerOptions(
args: [
'run',
// '--pause-isolates-on-start', // Uncomment this to debug issues during startup and initial scan
'--observe',
'--enable-vm-service',
'sass_language_server',
'--loglevel=debug',
],
Expand Down

0 comments on commit 733858f

Please sign in to comment.