Skip to content

Instantly share code, notes, and snippets.

@joshpetit
Created May 12, 2022 05:33
Show Gist options
  • Save joshpetit/93328b50a420760a01bbeabe370f31e9 to your computer and use it in GitHub Desktop.
Save joshpetit/93328b50a420760a01bbeabe370f31e9 to your computer and use it in GitHub Desktop.
Dart-code configuration options
{
"adapters" {
"dart-code": {
"name": "dart",
"command": [
"node",
"$HOME/.vscode/<PATH TO BUNDLE>/src/debug/dart_debug_entry.js"
],
"attach": {
"pidProperty": "observatoryUri",
"pidSelect": "ask"
}
}
},
"configurations": {
"Dart - Launch": {
"adapter": "dart-code",
"configuration": {
"request": "launch",
"cwd": "string",
"deviceId": "string",
"enableAsserts": "boolean",
"program": "string",
"showMemoryUsage": "boolean",
"flutterMode": "enum [ debug, release, profile ]",
"args": "array[string]",
"env": " ?? ",
"vmAdditionalArgs": "array[string]"
}
},
"Dart - Attach": {
"adapter": "dart-code",
"configuration": {
"request": "attach",
"cwd": "string",
"packages": "string"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment