diff --git a/docs/contributing/testing-and-debugging.md b/docs/contributing/testing-and-debugging.md index 00b7930..476579c 100644 --- a/docs/contributing/testing-and-debugging.md +++ b/docs/contributing/testing-and-debugging.md @@ -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]`. diff --git a/extension/src/server.ts b/extension/src/server.ts index 3983194..ab2630c 100644 --- a/extension/src/server.ts +++ b/extension/src/server.ts @@ -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', ],