2022-06-06 23:01:37 +08:00
|
|
|
{
|
|
|
|
// 使用 IntelliSense 了解相关属性。
|
|
|
|
// 悬停以查看现有属性的描述。
|
|
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|