Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new optional section for VS Code specific debugging (#461)
* Added a new optional section for VS Code specific debugging * Added shorter section on VS Code and .vscode folder * Grammar check * Reformatted wording and added reference to VSCode extension * Deleted images that aren't used anymore Co-authored-by: Ori Zohar <orzohar@microsoft.com> Co-authored-by: Charlie Stanley <charlie.stanley@microsoft.com> Co-authored-by: Viviano, Jason <jviviano6@gatech.edu>
- Loading branch information
1 parent
391299a
commit 7d538e6
Showing
6 changed files
with
302 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
// 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": "Add App", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "debug", | ||
"program": "${workspaceFolder}/go/app.go", | ||
"preLaunchTask": "daprd-debug-go", | ||
"postDebugTask": "daprd-down-go" | ||
}, | ||
{ | ||
"type": "pwa-node", | ||
"request": "launch", | ||
"name": "Divide App", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}/node/app.js", | ||
"preLaunchTask": "daprd-debug-node", | ||
"postDebugTask": "daprd-down-node" | ||
}, | ||
{ | ||
"type": "pwa-node", | ||
"request": "launch", | ||
"name": "Fronetend Calculator App", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}/react-calculator/server.js", | ||
"preLaunchTask": "daprd-debug-calculator", | ||
"postDebugTask": "daprd-down-calculator" | ||
}, | ||
{ | ||
"name": "Multiply App", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/python/app.py", | ||
"console": "integratedTerminal", | ||
"preLaunchTask": "daprd-debug-python", | ||
"postDebugTask": "daprd-down-python" | ||
}, | ||
{ | ||
"name": "Subtract App", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
"program": "${workspaceFolder}/csharp/bin/Debug/netcoreapp3.1/Subtract.dll", | ||
"args": [], | ||
"cwd": "${workspaceFolder}/csharp", | ||
"stopAtEntry": false, | ||
"serverReadyAction": { | ||
"action": "openExternally", | ||
"pattern": "\\bNow listening on:\\s+(https?://\\S+)" | ||
}, | ||
"env": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"sourceFileMap": { | ||
"/Views": "${workspaceFolder}/Views" | ||
}, | ||
"postDebugTask": "daprd-down-csharp" | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach" | ||
}, | ||
{ | ||
"name": "Add App with Dapr", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "debug", | ||
"program": "${workspaceFolder}/go/app.go", | ||
"preLaunchTask": "daprd-debug", | ||
"postDebugTask": "daprd-down" | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Full Dapr App", | ||
"configurations": ["Add App", "Divide App","Subtract App","Multiply App","Fronetend Calculator App" ] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/csharp/Subtract.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"dependsOn": [ | ||
"daprd-debug-csharp" | ||
] | ||
}, | ||
{ | ||
"label": "publish", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/csharp/Subtract.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "watch", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"watch", | ||
"run", | ||
"${workspaceFolder}/csharp/Subtract.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"appId": "addapp", | ||
"appPort": 6000, | ||
"httpPort": 3503, | ||
"metricsPort": 9092, | ||
"grpcPort": 50006, | ||
"label": "daprd-debug-go", | ||
"type": "daprd" | ||
}, | ||
{ | ||
"appId": "addapp", | ||
"label": "daprd-down-go", | ||
"type": "daprd-down" | ||
}, | ||
{ | ||
"appId": "subtractapp", | ||
"appPort": 7000, | ||
"httpPort": 3504, | ||
"metricsPort": 9091, | ||
"grpcPort": 50015, | ||
"label": "daprd-debug-csharp", | ||
"type": "daprd" | ||
}, | ||
{ | ||
"appId": "subtractapp", | ||
"label": "daprd-down-csharp", | ||
"type": "daprd-down" | ||
}, | ||
{ | ||
"appId": "divideapp", | ||
"appPort": 4000, | ||
"httpPort": 3502, | ||
"metricsPort": 9090, | ||
"grpcPort": 50004, | ||
"label": "daprd-debug-node", | ||
"type": "daprd" | ||
}, | ||
{ | ||
"appId": "divideapp", | ||
"label": "daprd-down-node", | ||
"type": "daprd-down" | ||
}, | ||
{ | ||
"appId": "multiplyapp", | ||
"appPort": 5000, | ||
"httpPort": 3501, | ||
"metricsPort": 9093, | ||
"grpcPort": 50003, | ||
"label": "daprd-debug-python", | ||
"type": "daprd" | ||
}, | ||
{ | ||
"appId": "multiplyapp", | ||
"label": "daprd-down-python", | ||
"type": "daprd-down" | ||
}, | ||
{ | ||
"appId": "frontendapp", | ||
"appPort": 8080, | ||
"httpPort": 3500, | ||
"metricsPort": 9094, | ||
"grpcPort": 50002, | ||
"label": "daprd-debug-calculator", | ||
"type": "daprd" | ||
}, | ||
{ | ||
"appId": "frontendapp", | ||
"label": "daprd-down-calculator", | ||
"type": "daprd-down" | ||
}, | ||
{ | ||
"appId": "app", | ||
"appPort": 80, | ||
"label": "daprd-debug", | ||
"type": "daprd", | ||
"dependsOn": "daprd-debug-go" | ||
}, | ||
{ | ||
"appId": "app", | ||
"label": "daprd-down", | ||
"type": "daprd-down", | ||
"dependsOn": "daprd-down-go" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}/app.js", | ||
"preLaunchTask": "daprd-debug-node", | ||
"postDebugTask": "daprd-down-node" | ||
}, | ||
{ | ||
"type": "python", | ||
"request": "launch", | ||
"name": "Pythonapp with Dapr", | ||
"program": "${workspaceFolder}/app.py", | ||
"console": "integratedTerminal", | ||
"preLaunchTask": "daprd-debug-python", | ||
"postDebugTask": "daprd-down-python" | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Node/Python Dapr", | ||
"configurations": ["Nodeapp with Dapr","Pythonapp with Dapr"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters