mirror of https://github.com/dapr/quickstarts.git
add folder paths to launch for split projects (#493)
Signed-off-by: tonysurma <5067595+tonysurma@users.noreply.github.com> Co-authored-by: tonysurma <5067595+tonysurma@users.noreply.github.com>
This commit is contained in:
parent
eb69a7ce12
commit
71e5489c6d
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
node_modules
|
||||
!.vscode
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
// 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": [
|
||||
{
|
||||
"type": "pwa-node",
|
||||
"request": "launch",
|
||||
"name": "Nodeapp with Dapr",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"program": "${workspaceFolder}/node/app.js",
|
||||
"preLaunchTask": "daprd-debug-node",
|
||||
"postDebugTask": "daprd-down-node"
|
||||
},
|
||||
{
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"name": "Pythonapp with Dapr",
|
||||
"program": "${workspaceFolder}/python/app.py",
|
||||
"console": "integratedTerminal",
|
||||
"preLaunchTask": "daprd-debug-python",
|
||||
"postDebugTask": "daprd-down-python"
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Node/Python Dapr",
|
||||
"configurations": ["Nodeapp with Dapr","Pythonapp with Dapr"]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"appId": "nodeapp",
|
||||
"appPort": 3000,
|
||||
"httpPort": 3500,
|
||||
"metricsPort": 9090,
|
||||
"label": "daprd-debug-node",
|
||||
"type": "daprd"
|
||||
},
|
||||
{
|
||||
"appId": "nodeapp",
|
||||
"label": "daprd-down-node",
|
||||
"type": "daprd-down"
|
||||
},
|
||||
{
|
||||
"appId": "pythonapp",
|
||||
"httpPort": 53109,
|
||||
"grpcPort": 53317,
|
||||
"metricsPort": 9091,
|
||||
"label": "daprd-debug-python",
|
||||
"type": "daprd"
|
||||
},
|
||||
{
|
||||
"appId": "pythonapp",
|
||||
"label": "daprd-down-python",
|
||||
"type": "daprd-down"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue