mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:50:42 +00:00
add server debug for vscode
This commit is contained in:
Vendored
+19
@@ -9,6 +9,25 @@
|
||||
"runtimeArgs": ["run-script", "test"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug Server",
|
||||
"runtimeExecutable": "node",
|
||||
"runtimeArgs": [
|
||||
"--loader",
|
||||
"ts-node/esm",
|
||||
"--experimental-specifier-resolution=node",
|
||||
"${workspaceFolder}/src/server/Server.ts"
|
||||
],
|
||||
"env": {
|
||||
"GAME_ENV": "dev"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"sourceMaps": true,
|
||||
"restart": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user