chore(vscode): unify Launch/Follow/Stop Backend tasks; Delve on 2346

This commit is contained in:
2026-08-29 15:31:55 +01:00
parent edd62b9f0e
commit 136d848a57
3 changed files with 17 additions and 50 deletions
+1 -31
View File
@@ -6,7 +6,7 @@
"type": "go",
"request": "attach",
"mode": "remote",
"port": 2345,
"port": 2346,
"host": "127.0.0.1",
"debugAdapter": "legacy",
"substitutePath": [
@@ -17,41 +17,11 @@
],
"cwd": "${workspaceFolder}/src",
"showLog": true,
// "trace": "verbose",
"presentation": {
"hidden": false,
"group": "KeepNote",
"order": 1
}
},
{
"name": "Launch browser",
"type": "editor-browser",
"request": "launch",
"url": "http://localhost:7000",
"presentation": {
"hidden": true,
"group": "",
"order": 1
}
},
{
"name": "Launch dev server (python)",
"type": "debugpy",
"module": "http.server",
"args": ["7000", "-d", "${workspaceFolder:KeepNote}/dev/"],
"request": "launch",
"presentation": {
"hidden": true,
"group": "",
"order": 1
}
}
],
"compounds": [
{
"name": "Launch Debug Dev UI",
"configurations": ["Launch dev server (python)", "Launch browser"]
}
]
}
+12 -16
View File
@@ -2,29 +2,25 @@
"version": "2.0.0",
"tasks": [
{
"label": "Start KeepNote Environment",
"label": "Launch Backend",
"type": "shell",
"command": "docker compose -f docker-compose.debug.yaml up --build",
"isBackground": true,
"problemMatcher": [
{
"pattern": {
"regexp": "^.*$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Building",
"endsPattern": " ✔ Container"
}
}
],
"command": "docker compose -f docker-compose.debug.yaml up -d --force-recreate",
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Stop KeepNote Environment",
"label": "Follow Backend Logs",
"type": "shell",
"command": "docker compose -f docker-compose.debug.yaml logs -f",
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Stop Backend",
"type": "shell",
"command": "docker compose -f docker-compose.debug.yaml down",
"presentation": {