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",
|
2023-08-03 17:04:00 +08:00
|
|
|
"runtimeExecutable": "yarn",
|
|
|
|
"runtimeArgs": ["dev", "--server"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2022-11-02 23:31:23 +08:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
2024-01-03 09:19:51 +08:00
|
|
|
{
|
|
|
|
"address": "localhost",
|
|
|
|
"localRoot": "${workspaceFolder}",
|
|
|
|
"name": "Attach to debug server (remote)",
|
|
|
|
"port": 9229,
|
|
|
|
"remoteRoot": "${workspaceFolder}",
|
|
|
|
"request": "attach",
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
|
|
|
"type": "node"
|
|
|
|
},
|
2022-06-06 23:01:37 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-12-29 09:29:37 +08:00
|
|
|
"name": "Debug Tests",
|
2022-06-06 23:01:37 +08:00
|
|
|
"runtimeExecutable": "yarn",
|
2023-12-29 09:29:37 +08:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "${file}"],
|
2023-08-03 17:04:00 +08:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2022-06-06 23:01:37 +08:00
|
|
|
"console": "integratedTerminal",
|
2023-04-06 12:43:40 +08:00
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"windows": {
|
2023-12-29 09:29:37 +08:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "/${fileBasename}"]
|
2023-04-06 12:43:40 +08:00
|
|
|
}
|
2022-12-16 17:04:22 +08:00
|
|
|
},
|
2023-06-07 10:37:10 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Client Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
2023-08-03 17:04:00 +08:00
|
|
|
"runtimeArgs": ["run", "test:client", "${file}"],
|
2023-10-07 15:49:09 +08:00
|
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/dist/**", "**/lib/**", "**/es/**"],
|
2023-06-07 10:37:10 +08:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"windows": {
|
2023-08-03 17:04:00 +08:00
|
|
|
"runtimeArgs": ["run", "test:client", "${relativeFile}"]
|
2023-06-07 10:37:10 +08:00
|
|
|
}
|
|
|
|
},
|
2023-09-27 20:00:17 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug E2E Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
|
|
|
"runtimeArgs": ["test:e2e", "${file}"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"windows": {
|
|
|
|
"runtimeArgs": ["test:e2e", "${fileBasename}"]
|
|
|
|
}
|
|
|
|
},
|
2022-12-16 17:04:22 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Migration",
|
|
|
|
"runtimeExecutable": "yarn",
|
2023-08-03 17:04:00 +08:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "migrator", "up"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2022-12-16 17:04:22 +08:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
2023-08-03 17:04:00 +08:00
|
|
|
}
|
2022-06-06 23:01:37 +08:00
|
|
|
]
|
|
|
|
}
|