Skip to content

feat(debugger): add startup project tools and project-specific debug#49

Merged
CalvinAllen merged 1 commit intomainfrom
feat/debugger/startup-project-and-launch
Mar 24, 2026
Merged

feat(debugger): add startup project tools and project-specific debug#49
CalvinAllen merged 1 commit intomainfrom
feat/debugger/startup-project-and-launch

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Adds startup_project_get and startup_project_set MCP tools for managing the VS startup project
  • Adds optional projectName parameter to debugger_launch and debugger_launch_without_debugging tools
  • When projectName is specified, launches the project directly via IVsDebuggableProjectCfg.DebugLaunch() without changing the startup project (same behavior as right-click > Debug > Start New Instance in VS)
  • Includes FindProjectByName helper that recursively searches through solution folders

Closes #45

Test plan

  • Use startup_project_get to verify it returns the current startup project
  • Use startup_project_set to change the startup project and verify it takes effect
  • Use debugger_launch without projectName — should behave as before (F5)
  • Use debugger_launch with projectName — should launch that specific project without changing the startup project
  • Use debugger_launch_without_debugging with projectName — should run without debugger attached
  • Verify startup project is unchanged after using projectName parameter
  • Test with projects nested in solution folders

…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.
@CalvinAllen CalvinAllen changed the title feat(debugger): add startup project tools and project-specific debug launch feat(debugger): add startup project tools and project-specific debug Mar 24, 2026
@CalvinAllen CalvinAllen merged commit 65a3fbd into main Mar 24, 2026
2 of 3 checks passed
@CalvinAllen CalvinAllen deleted the feat/debugger/startup-project-and-launch branch March 24, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Running/Debugging a specific project

1 participant