mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:46:00 +00:00
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Server",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": ["dev", "--server"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Jest Tests",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "${file}"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"windows": {
|
|
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "/${fileBasename}"]
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Client Tests",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": ["run", "test:client", "${file}"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"windows": {
|
|
"runtimeArgs": ["run", "test:client", "${relativeFile}"]
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Migration",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "migrator", "up"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen"
|
|
}
|
|
]
|
|
}
|