mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
101 lines
2.8 KiB
JSON
101 lines
2.8 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 (core only)",
|
|
"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 (core only, static)",
|
|
"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"
|
|
],
|
|
"restart": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch server (Electron)",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"server",
|
|
"--",
|
|
"-c",
|
|
"${input:enterDir}/Config/olympus.json",
|
|
"--vite"
|
|
],
|
|
"restart": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch client (Electron)",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"client",
|
|
"--",
|
|
"-c",
|
|
"${input:enterDir}/Config/olympus.json",
|
|
"--vite"
|
|
],
|
|
"restart": true
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
} |