mirror of
https://github.com/louislam/dockge.git
synced 2025-02-25 13:05:55 +00:00
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Dev with Debugger",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"port": 9229,
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"sourceMaps": true,
|
|
"smartStep": true
|
|
},
|
|
{
|
|
"name": "Launch Backend",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "ts-node",
|
|
"args": ["${workspaceFolder}/backend/dockge-server.ts"],
|
|
"preLaunchTask": "tsc: build - tsconfig.json",
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"sourceMaps": true,
|
|
"smartStep": true
|
|
},
|
|
{
|
|
"name": "Launch Frontend",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000",
|
|
"webRoot": "${workspaceFolder}/frontend",
|
|
"preLaunchTask": "npm: start"
|
|
},
|
|
{
|
|
"name": "Attach to Backend",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"port": 9229,
|
|
"restart": true,
|
|
"protocol": "inspector",
|
|
"sourceMaps": true,
|
|
"smartStep": true
|
|
}
|
|
]
|
|
}
|