57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Attach to KeepNote (Air)",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"port": 2345,
|
|
"host": "127.0.0.1",
|
|
"debugAdapter": "legacy",
|
|
"substitutePath": [
|
|
{
|
|
"from": "${workspaceFolder}/src",
|
|
"to": "/app"
|
|
}
|
|
],
|
|
"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"]
|
|
}
|
|
]
|
|
} |