feat(debugger): add startup project tools and project-specific debug#49
Merged
CalvinAllen merged 1 commit intomainfrom Mar 24, 2026
Merged
Conversation
…launch Add startup_project_get and startup_project_set tools for managing the startup project. Add optional projectName parameter to debugger_launch and debugger_launch_without_debugging that launches a specific project via IVsDebuggableProjectCfg without changing the startup project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
startup_project_getandstartup_project_setMCP tools for managing the VS startup projectprojectNameparameter todebugger_launchanddebugger_launch_without_debuggingtoolsprojectNameis specified, launches the project directly viaIVsDebuggableProjectCfg.DebugLaunch()without changing the startup project (same behavior as right-click > Debug > Start New Instance in VS)FindProjectByNamehelper that recursively searches through solution foldersCloses #45
Test plan
startup_project_getto verify it returns the current startup projectstartup_project_setto change the startup project and verify it takes effectdebugger_launchwithoutprojectName— should behave as before (F5)debugger_launchwithprojectName— should launch that specific project without changing the startup projectdebugger_launch_without_debuggingwithprojectName— should run without debugger attachedprojectNameparameter