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",
|
2023-12-29 01:29:37 +00:00
|
|
|
"name": "Debug Tests",
|
2022-06-06 15:01:37 +00:00
|
|
|
"runtimeExecutable": "yarn",
|
2023-12-29 01:29:37 +00:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "${file}"],
|
2023-08-03 09:04:00 +00:00
|
|
|
"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-12-29 01:29:37 +00:00
|
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "/${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}"],
|
2023-10-07 07:49:09 +00:00
|
|
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/dist/**", "**/lib/**", "**/es/**"],
|
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-27 12:00:17 +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
|
|
|
]
|
|
|
|
}
|