tachybase_todo/.vscode/launch.json

58 lines
1.3 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Server",
"runtimeArgs": [
"-r", "dotenv/config",
"-r", "tsconfig-paths/register",
"-r", "ts-node/register"
],
"args": ["${workspaceRoot}/packages/app/server/src/index.ts", "start"],
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Debug Jest Tests",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"run",
"--inspect-brk",
"test",
"--runInBand",
"${file}"
],
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Debug Migration",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"run",
"--inspect-brk",
"nocobase",
"migrator",
"up",
],
"skipFiles": [
"<node_internals>/**"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
]
}