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"
|
|
|
|
},
|
2022-06-06 23:01:37 +08:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Jest Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
2023-08-03 17:04:00 +08:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "${file}"],
|
|
|
|
"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-08-03 17:04:00 +08:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "/${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}"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
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
|
|
|
}
|
|
|
|
},
|
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
|
|
|
]
|
|
|
|
}
|