43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
|
|
{
|
||
|
|
"version": "0.2.0",
|
||
|
|
"configurations": [
|
||
|
|
// If the server pubspec configures multiple Flutter apps, add an attach
|
||
|
|
// configuration like this for each app and add every configuration name
|
||
|
|
// to the compound below. Use the VM-service info file pattern
|
||
|
|
// `${workspaceFolder}/halkyon_learn_server/.dart_tool/serverpod/flutter-vm-service-info-<appId>.json`,
|
||
|
|
// where `<appId>` is the app's key under `serverpod.flutter_apps` in the
|
||
|
|
// server pubspec.
|
||
|
|
{
|
||
|
|
// Attaches to the Flutter app `serverpod start` spawns. Don't
|
||
|
|
// launch a second instance here - it would race for the port.
|
||
|
|
"name": "halkyon_learn_flutter",
|
||
|
|
"type": "dart",
|
||
|
|
"request": "attach",
|
||
|
|
"vmServiceInfoFile": "${workspaceFolder}/halkyon_learn_server/.dart_tool/serverpod/flutter-vm-service-info-halkyon_learn.json",
|
||
|
|
"preLaunchTask": "serverpod_start",
|
||
|
|
"internalConsoleOptions": "neverOpen"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "halkyon_learn_server",
|
||
|
|
"type": "dart",
|
||
|
|
"request": "attach",
|
||
|
|
"vmServiceInfoFile": "${workspaceFolder}/halkyon_learn_server/.dart_tool/serverpod/vm-service-info.json",
|
||
|
|
"preLaunchTask": "serverpod_start",
|
||
|
|
"internalConsoleOptions": "neverOpen"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"compounds": [
|
||
|
|
{
|
||
|
|
"name": "halkyon_learn (full stack)",
|
||
|
|
"configurations": [
|
||
|
|
"halkyon_learn_server",
|
||
|
|
"halkyon_learn_flutter"
|
||
|
|
],
|
||
|
|
// Stopping one session stops both; the orphan blocks re-attach.
|
||
|
|
"stopAll": true,
|
||
|
|
"presentation": {
|
||
|
|
"order": 1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|