2022-06-06 15:01:37 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2022-11-02 15:31:23 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Server",
|
2023-08-03 09:04:00 +00:00
|
|
|
"runtimeExecutable": "yarn",
|
|
|
|
"runtimeArgs": ["dev", "--server"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2022-11-02 15:31:23 +00:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
2022-06-06 15:01:37 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Jest Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
2023-08-03 09:04:00 +00:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "${file}"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2022-06-06 15:01:37 +00:00
|
|
|
"console": "integratedTerminal",
|
2023-04-06 04:43:40 +00:00
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"windows": {
|
2023-08-03 09:04:00 +00:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "/${fileBasename}"]
|
2023-04-06 04:43:40 +00:00
|
|
|
}
|
2022-12-16 09:04:22 +00:00
|
|
|
},
|
2023-06-07 02:37:10 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Client Tests",
|
|
|
|
"runtimeExecutable": "yarn",
|
2023-08-03 09:04:00 +00:00
|
|
|
"runtimeArgs": ["run", "test:client", "${file}"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2023-06-07 02:37:10 +00:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"windows": {
|
2023-08-03 09:04:00 +00:00
|
|
|
"runtimeArgs": ["run", "test:client", "${relativeFile}"]
|
2023-06-07 02:37:10 +00:00
|
|
|
}
|
|
|
|
},
|
2023-09-09 03:05:06 +00: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 09:04:22 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Migration",
|
|
|
|
"runtimeExecutable": "yarn",
|
2023-08-03 09:04:00 +00:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "migrator", "up"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2022-12-16 09:04:22 +00:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
2023-08-03 09:04:00 +00:00
|
|
|
}
|
2022-06-06 15:01:37 +00:00
|
|
|
]
|
|
|
|
}
|