mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
server: fix up debug config and add one for VS Code
This commit is contained in:
19
.vscode/launch.json
vendored
Normal file
19
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch server",
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"env": {
|
||||
"NODE_ENV": "development",
|
||||
"TS_NODE_PROJECT": "${workspaceFolder}/server/tsconfig.json"
|
||||
},
|
||||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ts-node-dev",
|
||||
"runtimeArgs": ["--respawn", "--inspect", "--transpile-only"],
|
||||
"program": "server/bin/start.ts",
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user