51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Backend",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"port": 2349,
|
|
"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": "Alarm",
|
|
"order": 0
|
|
}
|
|
},
|
|
{
|
|
"name": "Attach to Alarm (Air)",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"port": 2349,
|
|
"host": "127.0.0.1",
|
|
"debugAdapter": "legacy",
|
|
"substitutePath": [
|
|
{
|
|
"from": "${workspaceFolder}/src",
|
|
"to": "/app"
|
|
}
|
|
],
|
|
"cwd": "${workspaceFolder}/src",
|
|
"showLog": true,
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "Alarm",
|
|
"order": 1
|
|
}
|
|
}
|
|
]
|
|
}
|