2022-06-06 15:01:37 +00:00
|
|
|
{
|
|
|
|
// 使用 IntelliSense 了解相关属性。
|
|
|
|
// 悬停以查看现有属性的描述。
|
|
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"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",
|
2022-11-03 13:45:45 +00:00
|
|
|
"${fileBasenameNoExtension}"
|
2022-11-02 15:31:23 +00:00
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
2022-06-06 15:01:37 +00:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|