61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch firefox localhost",
|
|
"type": "firefox",
|
|
"request": "launch",
|
|
"reAttach": true,
|
|
"url": "http://localhost:5173",
|
|
"webRoot": "${workspaceFolder}/client"
|
|
},
|
|
|
|
{
|
|
"name": "Launch Chrome localhost",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:5173",
|
|
"webRoot": "${workspaceFolder}/client"
|
|
},
|
|
|
|
{
|
|
"type": "msedge",
|
|
"request": "launch",
|
|
"name": "CLIENT: Launch Edge against localhost",
|
|
"url": "http://localhost:5173",
|
|
"webRoot": "${workspaceFolder}/client"
|
|
},
|
|
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to ts-node-dev",
|
|
"port": 4321,
|
|
"restart": true,
|
|
"timeout": 10000,
|
|
"sourceMaps": true,
|
|
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
|
|
},
|
|
|
|
{
|
|
"name": "Launch via YARN",
|
|
"request": "launch",
|
|
"runtimeArgs": ["run", "server"],
|
|
"runtimeExecutable": "yarn",
|
|
"skipFiles": ["<node_internals>/**", "client/**", "dist/**", "doc/**"],
|
|
"type": "node"
|
|
},
|
|
|
|
{
|
|
"name": "Turbo: debug server-side",
|
|
"type": "node-terminal",
|
|
"request": "launch",
|
|
"command": "pnpm run dev --filter=server",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NODE_OPTIONS": "--inspect"
|
|
}
|
|
}
|
|
]
|
|
}
|