mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 01:48:14 +00:00
chore: change debug server to yarn dev (#2383)
This commit is contained in:
parent
495c2209c2
commit
05cba94982
68
.vscode/launch.json
vendored
68
.vscode/launch.json
vendored
@ -5,21 +5,9 @@
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug Server",
|
||||
"runtimeArgs": [
|
||||
"-r",
|
||||
"dotenv/config",
|
||||
"-r",
|
||||
"tsconfig-paths/register",
|
||||
"-r",
|
||||
"ts-node/register"
|
||||
],
|
||||
"args": [
|
||||
"${workspaceRoot}/packages/app/server/src/index.ts",
|
||||
"start"
|
||||
],
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"runtimeExecutable": "yarn",
|
||||
"runtimeArgs": ["dev", "--server"],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
},
|
||||
@ -28,26 +16,12 @@
|
||||
"request": "launch",
|
||||
"name": "Debug Jest Tests",
|
||||
"runtimeExecutable": "yarn",
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"--inspect-brk",
|
||||
"test",
|
||||
"--runInBand",
|
||||
"${file}"
|
||||
],
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "${file}"],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"windows": {
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"--inspect-brk",
|
||||
"test",
|
||||
"--runInBand",
|
||||
"/${fileBasename}"
|
||||
],
|
||||
"runtimeArgs": ["run", "--inspect-brk", "test", "--runInBand", "/${fileBasename}"]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -55,22 +29,12 @@
|
||||
"request": "launch",
|
||||
"name": "Debug Client Tests",
|
||||
"runtimeExecutable": "yarn",
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"test:client",
|
||||
"${file}"
|
||||
],
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"runtimeArgs": ["run", "test:client", "${file}"],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"windows": {
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"test:client",
|
||||
"${relativeFile}"
|
||||
],
|
||||
"runtimeArgs": ["run", "test:client", "${relativeFile}"]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -78,18 +42,10 @@
|
||||
"request": "launch",
|
||||
"name": "Debug Migration",
|
||||
"runtimeExecutable": "yarn",
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"--inspect-brk",
|
||||
"nocobase",
|
||||
"migrator",
|
||||
"up",
|
||||
],
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "migrator", "up"],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user