From 498cf714160153011387e70f576b95984c17f115 Mon Sep 17 00:00:00 2001 From: Jack Liu Shurui Date: Tue, 17 May 2022 13:33:20 +0800 Subject: [PATCH] Update vscode-how-to-debug-multiple-dapr-apps.md Signed-off-by: Jack Liu shurui --- .../ides/vscode/vscode-how-to-debug-multiple-dapr-apps.md | 6 +++--- 1 file changed, 3 insertions(+), 3 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 2972a29dd..3d6b806ed 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 @@ -65,7 +65,7 @@ In the case of the hello world quickstart, two applications are launched, each w } ``` -Each configuration requires a `request`, `type` and `name`. These parameters help VSCode identify the task configurations in the `.vscode/task.json` files. +Each configuration requires a `request`, `type` and `name`. These parameters help VSCode identify the task configurations in the `.vscode/tasks.json` files. - `type` defines the language used. Depending on the language, 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. This is used for compound configurations when calling multiple configurations in your project. @@ -74,9 +74,9 @@ Each configuration requires a `request`, `type` and `name`. These parameters hel For more information on VSCode debugging parameters see [VS Code launch attributes](https://code.visualstudio.com/Docs/editor/debugging#_launchjson-attributes). -## Step 2: Configure task.json +## Step 2: Configure tasks.json -For each [task](https://code.visualstudio.com/docs/editor/tasks) defined in `.vscode/launch.json` , a corresponding task definition must exist in `.vscode/task.json`. +For each [task](https://code.visualstudio.com/docs/editor/tasks) defined in `.vscode/launch.json` , a corresponding task definition must exist in `.vscode/tasks.json`. For the quickstart, each service needs a task to launch a Dapr sidecar with the `daprd` type, and a task to stop the sidecar with `daprd-down`. The parameters `appId`, `httpPort`, `metricsPort`, `label` and `type` are required. Additional optional parameters are available, see the [reference table here](#daprd-parameter-table").