{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // 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", "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/${input:service}", "console": "integratedTerminal", "serverReadyAction": { "pattern": "server listening on (https?://\\S+|[0-9]+)", "uriFormat": "http://localhost:%s", "action": "openExternally" }, "skipFiles": ["/**"] } ], "inputs": [ { "type": "pickString", "id": "service", "description": "Which service do you want to start?", "options": [ "bookshop", "bookstore", "media-server", "office-supplies", "orders-service", "products-service", "reviews-service", "user-service" ], "default": "bookstore" } ] }