Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dapr debug configuration #283

Merged
merged 5 commits into from
Feb 10, 2023
Merged

Add dapr debug configuration #283

merged 5 commits into from
Feb 10, 2023

Conversation

philliphoff
Copy link
Member

Adds a custom dapr debug configuration that enables F5-style debugging of Dapr applications, simply by pointing to the dapr.yaml run file. Developers can debug existing Dapr applications or, via the preLaunchTask property, make the startup of the applications (e.g. via a dapr task) a prerequisite. Developers can also indicate that only a subset of the applications in the run file should be attached to (either via an inclusion or exclusion list, using the includeApps and excludeApps properties, respectfully).

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Dapr",
            "request": "launch",
            "type": "dapr",
            "runFile": "${workspaceFolder}/dapr.yaml",
            // "includeApps": ["csharp-subscriber", "node-subscriber"],
            // "excludeApps": ["python-subscriber", "react-form"],
            "preLaunchTask": "dapr"
        }
    ]
}

Resolves #273

@philliphoff philliphoff merged commit 20c999a into main Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Dapr custom launch debug configuration
2 participants