One Click Debug
One Click Debug is a Visual Studio extension that lets you run a repeatable local debug workflow with a single click.
It is designed for teams that regularly perform the same sequence before debugging, such as:
- Build the current solution
- Run a custom command in a chosen working directory
- Wait for a configurable delay
- Reattach the debugger to the previous process
What It Does
With one command, One Click Debug can:
- Build the currently opened solution
- Run any configurable command-line command
- Stream command output to the Visual Studio Output window
- Retry through
cmd.exe when needed so shell errors are visible
- Wait a configurable number of seconds before debugger reattach
- Trigger Visual Studio's built-in
Reattach to Process
- Stop the running command from inside Visual Studio
Why Use It
Many teams have a local startup/debug routine that is repetitive and easy to get wrong. One Click Debug turns that routine into a single repeatable action inside Visual Studio.
Instead of switching between terminals, menus, and debugger commands, you can keep the workflow inside the IDE.
Configuration
The extension reads its settings from a cmf-local-stack.json file located next to the active solution file.
Example:
{
"SolutionConfigurationName": "",
"RunBuild": true,
"RunCommand": true,
"RunReattach": true,
"ReattachDelaySeconds": 10,
"StopIfBuildFails": true,
"StopIfCommandFails": true,
"WorkingDirectory": "C:\\repo\\your-solution-root",
"CommandExecutable": "your-command",
"CommandArguments": "your arguments here"
}