Simplified debugging

This commit is contained in:
Daniel
2020-07-07 17:29:30 +02:00
parent 7b1c3d8b3a
commit 522ec8e071
2 changed files with 7 additions and 13 deletions

18
.vscode/launch.json vendored
View File

@@ -6,24 +6,16 @@
"configurations": [
{
"name": "bookshop",
"cwd": "${workspaceFolder}/bookshop",
"command": "cds watch bookshop",
"request": "launch",
"type": "node",
"runtimeExecutable": "npx",
"runtimeArgs": ["-n"],
"args": ["--", "cds", "run", "--with-mocks", "--in-memory?"],
"console": "integratedTerminal",
"type": "node-terminal",
"skipFiles": ["<node_internals>/**"]
},
{
"name": "Fiori App",
"cwd": "${workspaceFolder}/fiori",
"name": "Fiori app",
"command": "cds watch fiori",
"request": "launch",
"type": "node",
"runtimeExecutable": "npx",
"runtimeArgs": ["-n"],
"args": ["--", "cds", "run", "--with-mocks", "--in-memory?"],
"console": "integratedTerminal",
"type": "node-terminal",
"skipFiles": ["<node_internals>/**"]
}
],

View File

@@ -19,6 +19,8 @@
"sqlite3": "^4"
},
"scripts": {
"bookshop": "cds watch bookshop",
"fiori": "cds watch fiori",
"mocha": "npx mocha || echo",
"jest": "npx jest --verbose",
"test": "npm run jest -s"