added launch conf for bookshop

This commit is contained in:
Daniel
2019-12-19 18:22:54 +01:00
parent 2ebfcd8871
commit 294f9feb36

16
.vscode/launch.json vendored
View File

@@ -4,6 +4,22 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
"name": "bookshop",
"request": "launch",
"type": "node",
"runtimeExecutable": "npx",
"runtimeArgs": ["-n"],
"args": ["--", "cds", "run", "--with-mocks", "--in-memory"], // the leading "--" arg ensures it works with as well as without debugging
"cwd": "${workspaceFolder}/packages/bookshop",
"console": "integratedTerminal",
"serverReadyAction": {
"pattern": "server listening on (https?://\\S+|[0-9]+)",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
},
"skipFiles": ["<node_internals>/**"]
},
{ {
"name": "cds run", "name": "cds run",
"request": "launch", "request": "launch",