Is there an existing issue for this?
Describe the bug
I installed the Aspire VSCode extension and chose to "Run and debug" my C# Aspire project with it.
When I use C# Dev Kit and debug a C# project, I can select that the debugger should break on any exception:
This is not available when debugging with Aspire:
This is critical for any non-trivial development setup; if exceptions happen I want to break and debug them. Now this isn't possible.
Expected Behavior
When debugging my C# aspire project in VSCode with the Aspire extension, it should be able to break on any exception.
Steps To Reproduce
- Create an aspire project with C#.
- Install VSCode extension
- Debug the project
- Try to configure that debugger breaks on any exception, which isn't possible. If you execute a code path that throws, it won't break on that exception.
Then:
- Debug the csproj with C# Dev kit
- See that breaking on unhandled exceptions IS available
Exceptions (if any)
No response
Aspire doctor output
Aspire Environment Check
.NET SDK
✅ .NET 10.0.300 installed (arm64)
Container Runtime
✅ Docker v29.4.3: running (auto-detected (default)) ← active
Environment
✅ HTTPS development certificate is trusted
Summary: 3 passed, 0 warnings, 0 failed
Anything else?
VSCode insiders 1.122.0-insider
Aspire extension: 1.0.9
Is there an existing issue for this?
Describe the bug
I installed the Aspire VSCode extension and chose to "Run and debug" my C# Aspire project with it.
When I use C# Dev Kit and debug a C# project, I can select that the debugger should break on any exception:
This is not available when debugging with Aspire:
This is critical for any non-trivial development setup; if exceptions happen I want to break and debug them. Now this isn't possible.
Expected Behavior
When debugging my C# aspire project in VSCode with the Aspire extension, it should be able to break on any exception.
Steps To Reproduce
Then:
Exceptions (if any)
No response
Aspire doctor output
Aspire Environment Check
.NET SDK
✅ .NET 10.0.300 installed (arm64)
Container Runtime
✅ Docker v29.4.3: running (auto-detected (default)) ← active
Environment
✅ HTTPS development certificate is trusted
Summary: 3 passed, 0 warnings, 0 failed
Anything else?
VSCode insiders 1.122.0-insider
Aspire extension: 1.0.9