67 lines
1.9 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": "Launch Server (DCS)",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "nodemon",
"runtimeArgs": [
"--watch",
"src/**/*.ts",
"--exec",
"node",
"--inspect",
"-r",
"ts-node/register",
"src/www.ts",
"-c",
"${input:enterDir}/Config/olympus.json",
"--vite"
],
"restart": true
},
{
"type": "node",
"request": "launch",
"name": "Launch Server (No DCS)",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "nodemon",
"runtimeArgs": [
"--watch",
"src/**/*.ts",
"--exec",
"node",
"--inspect",
"-r",
"ts-node/register",
"src/www.ts",
"-c",
"${input:enterDir}/Config/olympus.json",
"--vite"
],
"restart": true,
"preLaunchTask": "demo-server"
}
],
"inputs": [
{
"id": "enterDir",
"type": "command",
"command": "extension.commandvariable.promptStringRemember",
"args": {
"key": "dir",
"description": "DCS Saved Games folder (leave default for mock dcs)",
"default": "../../mock-dcs"
}
}
]
}