Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Debug ShutdownNew to Visual Studio Code? Get it now.
Debug Shutdown

Debug Shutdown

mago

|
16 installs
| (2) | Free
| Sponsor
A custom shutdown button for debug in vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

debug-shutdown

(Only works with Unix systems)

Features

A custom shutdown button for debug in vscode.

When the Shutdown button is pressed, the command pkill -<signal> __debug_bin will be sent to a child process. It allows, for example, our golang code to identify this signal and run the graceful shutdown.

Button Print

The default signal used is SIGINT, but it can be changed to any other option by the user:

Configuration

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft