2022-06-06 23:01:37 +08:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2022-11-02 23:31:23 +08: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 23:01:37 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Jest Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
2022-11-02 23:31:23 +08:00
|
|
|
"runtimeArgs": [
|
|
|
|
"run",
|
|
|
|
"--inspect-brk",
|
|
|
|
"test",
|
|
|
|
"--runInBand",
|
2022-11-03 21:45:45 +08:00
|
|
|
"${fileBasenameNoExtension}"
|
2022-11-02 23:31:23 +08:00
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
2022-06-06 23:01:37 +08:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
2022-12-16 17:04:22 +08: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 23:01:37 +08:00
|
|
|
]
|
|
|
|
}
|