From f9de90dd933f2339812ed223d1ba1f80620fe34a Mon Sep 17 00:00:00 2001 From: jasonviviano <83607984+jasonviviano@users.noreply.github.com> Date: Thu, 22 Jul 2021 13:18:20 -0400 Subject: [PATCH] Update daprdocs/content/en/developing-applications/ides/vscode/vscode-how-to-debug-multiple-dapr-apps.md Co-authored-by: Aaron Crawfis --- .../vscode/vscode-how-to-debug-multiple-dapr-apps.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/daprdocs/content/en/developing-applications/ides/vscode/vscode-how-to-debug-multiple-dapr-apps.md b/daprdocs/content/en/developing-applications/ides/vscode/vscode-how-to-debug-multiple-dapr-apps.md index 06000e412..30eb6ad0c 100644 --- a/daprdocs/content/en/developing-applications/ides/vscode/vscode-how-to-debug-multiple-dapr-apps.md +++ b/daprdocs/content/en/developing-applications/ides/vscode/vscode-how-to-debug-multiple-dapr-apps.md @@ -49,13 +49,10 @@ Each SDK supported will require its own tweaks for the launching of the program The 3 main parameters each configuration will need is a `request`, `type` and `name`. In these scenarios we need only the `launch` request as we will be launching each application and connecting to a running Daprd instance which we will launch right before the application itself. -`type` is related to the SDK you are trying to run and depending on the SDK it might require a extension found in the marketplace in order to properly configure, such as the [Python Extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python). - -`name` is just a unique name for the configuration which will come in useful once we create what is called a compound configuration which will allow you to call multiple configurations for your project. - -`${workspaceFolder}` is one of the supported VS Code variable references that are already predefined, its value is the workspace path of the opened VS Code workspace. - -The `preLaunchTask` and `postDebugTask` parameters will refer to what the program configuration will run before launching the actual Node app and commands it will run afterwards. +- `type` is related to the SDK you are trying to run, and depending on the SDK it might require an extension found in the marketplace, such as the [Python Extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python). +- `name` is a unique name for the configuration, used for compound configurations when calling multiple configurations in your project. +- `${workspaceFolder}` is a VS Code variable reference, equal to the workspace path of the opened VS Code workspace. +- The `preLaunchTask` and `postDebugTask` parameters refer to the program configurations run before and after launching the application. See step 2 on how to configure these. For this tutorial the `preLaunchTask` and `postDebugTask` both refer to task.json configurations that are related to Daprd commands. @@ -170,4 +167,3 @@ You can now run the program in debug mode by finding the compound command in the * [VS Code Extension Overview]({{< ref vscode-dapr-extension.md >}}) * [VS Code Manual Configurations]({{< ref vscode-manual-configuration.md >}}) -