mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 04:12:23 +02:00
git-subtree-dir: foundations/net git-subtree-mainline:2b0d510202git-subtree-split:7722c95341
52 lines
1.4 KiB
JSON
52 lines
1.4 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": [
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}",
|
|
"name": "Attach to Remote",
|
|
"port": 9229,
|
|
"request": "attach",
|
|
"sourceMaps": true,
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Debug Network",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"args": ["src/index.ts"],
|
|
"env": {
|
|
"PORT": "3737",
|
|
"DEVELOPMENT": "true"
|
|
},
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
"runtimeVersion": "22",
|
|
"showAsyncStacks": true,
|
|
"outputCapture": "std",
|
|
"sourceMaps": true,
|
|
"cwd": "${workspaceRoot}/pods/network-pod",
|
|
"protocol": "inspector"
|
|
},
|
|
{
|
|
"name": "Debug Tool",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"args": ["src/index.ts", "bench-agent"],
|
|
"env": {
|
|
"NETWORK_HOST": "localhost:37371"
|
|
},
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
"runtimeVersion": "22",
|
|
"showAsyncStacks": true,
|
|
"outputCapture": "std",
|
|
"sourceMaps": true,
|
|
"cwd": "${workspaceRoot}/pods/network-tool",
|
|
"protocol": "inspector"
|
|
}
|
|
]
|
|
}
|