2022-06-06 15:01:37 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2022-11-02 15:31:23 +00:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
2022-06-06 15:01:37 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Jest Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
2022-11-02 15:31:23 +00:00
|
|
|
"runtimeArgs": [
|
|
|
|
"run",
|
|
|
|
"--inspect-brk",
|
|
|
|
"test",
|
|
|
|
"--runInBand",
|
2023-03-01 15:13:29 +00:00
|
|
|
"${file}"
|
2022-11-02 15:31:23 +00:00
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
2022-06-06 15:01:37 +00:00
|
|
|
"console": "integratedTerminal",
|
2023-04-06 04:43:40 +00:00
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"windows": {
|
|
|
|
"runtimeArgs": [
|
|
|
|
"run",
|
|
|
|
"--inspect-brk",
|
|
|
|
"test",
|
|
|
|
"--runInBand",
|
|
|
|
"/${fileBasename}"
|
|
|
|
],
|
|
|
|
}
|
2022-12-16 09:04:22 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Migration",
|
|
|
|
"runtimeExecutable": "yarn",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"run",
|
|
|
|
"--inspect-brk",
|
|
|
|
"nocobase",
|
|
|
|
"migrator",
|
|
|
|
"up",
|
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
2022-06-06 15:01:37 +00:00
|
|
|
]
|
|
|
|
}
|