picluster/launch.json
Verita84 48111c89c0 fix
2021-08-25 08:44:55 -06:00

57 lines
1.8 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Web",
"cwd": "/home/verita84/picluster/web",
"program": "/home/verita84/picluster/web/webconsole.js",
"env": { "PICLUSTER_CONFIG": "/home/verita84/picluster/config.json"},
"runtimeArgs":["--inspect=0.0.0.0:9003"]
},
{
"type": "node",
"request": "launch",
"name": "Agent",
"cwd": "/home/verita84/picluster/agent",
"program": "/home/verita84/picluster/agent/agent.js",
"env": { "PICLUSTER_CONFIG": "/home/verita84/picluster/config.json"},
"runtimeArgs":["--inspect=0.0.0.0:9001"]
},
{
"type": "node",
"request": "launch",
"name": "Server",
"cwd": "/home/verita84/picluster/server",
"program": "/home/verita84/picluster/server/server.js",
"runtimeArgs":["--inspect=0.0.0.0:9000"]
},
{
"type": "node",
"request": "attach",
"name": "Debug-Server",
"port": 9000,
"restart": true,
"protocol": "inspector"
},
{
"type": "node",
"request": "attach",
"name": "Debug-Web",
"port": 9003,
"restart": true,
"protocol": "inspector"
}, {
"type": "node",
"request": "attach",
"name": "Debug-Agent",
"port": 9001,
"restart": true,
"protocol": "inspector"
}
]
}