Skip to content

Commit 733858f

Browse files
committed
Use a debugging flag that doesn't keep the process running on exit
See dart-lang/sdk#24352
1 parent cbb6114 commit 733858f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/contributing/testing-and-debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You should also turn off extensions like SCSS IntelliSense or Some Sass.
2525

2626
### Open the Dart DevTools
2727

28-
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.
28+
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.
2929

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

extension/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function createServerOptions(
4646
args: [
4747
'run',
4848
// '--pause-isolates-on-start', // Uncomment this to debug issues during startup and initial scan
49-
'--observe',
49+
'--enable-vm-service',
5050
'sass_language_server',
5151
'--loglevel=debug',
5252
],

0 commit comments

Comments
 (0)