52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
// 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": "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": [
|
|
"<node_internals>/**"
|
|
]
|
|
}
|
|
],
|
|
"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": "bookshop"
|
|
}
|
|
]
|
|
} |