From 294f9feb368d7ef5c767bb719fb89693598a928e Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 19 Dec 2019 18:22:54 +0100 Subject: [PATCH] added launch conf for bookshop --- .vscode/launch.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 55019ae0..4ff1fabc 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,22 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "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": ["/**"] + }, { "name": "cds run", "request": "launch",