8000 Can't debug multi-run dapr solution (The task dapr cannot be tracked) · Issue #319 · microsoft/vscode-dapr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
Can't debug multi-run dapr solution (The task dapr cannot be tracked) #319
Open
@jasonshave

Description

@jasonshave

Overview:

I'm able to run my dapr solution which has 3 ASP.NET 8 web API's using the dapr -f multi-run file but having some difficulty getting the debug experience to work.

Actual behavior:

When using the CTRL+SHIFT+P to scaffold a launch.json and task for tasks.json, it creates the following:

{
  "name": "Launch Dapr",
  "request": "launch",
  "type": "dapr",
  "runFile": "${workspaceFolder}/dapr.yaml",
  "preLaunchTask": "dapr"
}
{
  "label": "dapr",
  "type": "dapr",
  "runFile": "$(workspaceFolder)/dapr.yaml"
},
  1. The first issue is that the runFile's value results in a file not found. If I remove the $(workspaceFolder) and just use dapr.yaml, the project starts up with the right components and sidecar/etc.
  2. Once the solution is started, I get this error:

image

If I click DebugAnyway, I get:

image

  1. If I use the dapr extension to locate the running apps and click on any of the debug buttons I get:

image

Expected behavior:

I should be able to attach and debug with breakpoints in each independent application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0