40 lines
1.2 KiB
JSON
40 lines
1.2 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": "bookshop", "request": "launch",
|
|
"type": "node", "runtimeExecutable": "npx", "runtimeArgs": [ "-n", "--" ],
|
|
"args": [ "cds", "run", "--in-memory" ],
|
|
"cwd": "${workspaceFolder}/packages/bookshop",
|
|
"console": "integratedTerminal",
|
|
"skipFiles": ["<node_internals>/**"]
|
|
},
|
|
{
|
|
"name": "cds run ...", "request": "launch",
|
|
"type": "node", "runtimeExecutable": "npx", "runtimeArgs": [ "-n", "--" ],
|
|
"args": [ "cds", "run", "--with-mocks", "--in-memory?" ],
|
|
"cwd": "${workspaceFolder}/packages/${input:service}",
|
|
"console": "integratedTerminal",
|
|
"skipFiles": ["<node_internals>/**"]
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"type": "pickString",
|
|
"id": "service",
|
|
"description": "Which service do you want to start?",
|
|
"options": [
|
|
"bookshop",
|
|
"bookstore",
|
|
"media-server",
|
|
"office-supplies",
|
|
"reviews-service"
|
|
],
|
|
"default": "bookshop"
|
|
}
|
|
]
|
|
}
|