[chore](keepnote): drop the stale VS Code task and launch files
This commit is contained in:
Vendored
-50
@@ -1,50 +0,0 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug Backend",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
"port": 2346,
|
||||
"host": "127.0.0.1",
|
||||
"debugAdapter": "legacy",
|
||||
"substitutePath": [
|
||||
{
|
||||
"from": "${workspaceFolder}/src",
|
||||
"to": "/app"
|
||||
}
|
||||
],
|
||||
"cwd": "${workspaceFolder}/src",
|
||||
"showLog": true,
|
||||
"preLaunchTask": "Launch Backend",
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "KeepNote",
|
||||
"order": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Attach to KeepNote (Air)",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
"port": 2346,
|
||||
"host": "127.0.0.1",
|
||||
"debugAdapter": "legacy",
|
||||
"substitutePath": [
|
||||
{
|
||||
"from": "${workspaceFolder}/src",
|
||||
"to": "/app"
|
||||
}
|
||||
],
|
||||
"cwd": "${workspaceFolder}/src",
|
||||
"showLog": true,
|
||||
"presentation": {
|
||||
"hidden": false,
|
||||
"group": "KeepNote",
|
||||
"order": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
-45
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Launch Backend",
|
||||
"type": "shell",
|
||||
"command": "docker compose -f docker-compose.debug.yaml up -d && until nc -z 127.0.0.1 2346 >/dev/null 2>&1; do sleep 1; done && echo DAE_BACKEND_READY",
|
||||
"isBackground": true,
|
||||
"problemMatcher": [
|
||||
{
|
||||
"pattern": {
|
||||
"regexp": "^.*$"
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".*",
|
||||
"endsPattern": "DAE_BACKEND_READY"
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user