mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:46:54 +00:00
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
// 使用 IntelliSense 了解相关属性。
|
|
// 悬停以查看现有属性的描述。
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Server",
|
|
"cmd": "${workspaceRoot}",
|
|
"runtimeArgs": [
|
|
"-r", "dotenv/config",
|
|
"-r", "tsconfig-paths/register",
|
|
"-r", "ts-node/register"
|
|
],
|
|
"args": ["${workspaceRoot}/packages/app/server/src/index.ts", "start"],
|
|
"port": 9229,
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Jest Tests",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"--inspect-brk",
|
|
"test",
|
|
"--runInBand",
|
|
// could be any single file path to debug
|
|
"${workspaceFolder}/packages/plugins/workflow/src/__tests__/instructions/parallel.test.ts"
|
|
],
|
|
"port": 9229,
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
}
|
|
]
|
|
}
|