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.
Open
Description
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"
},
- 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.
- Once the solution is started, I get this error:
If I click DebugAnyway, I get:
- If I use the dapr extension to locate the running apps and click on any of the debug buttons I get:
Expected behavior:
I should be able to attach and debug with breakpoints in each independent application.
Metadata
Metadata
Assignees
Labels
No labels