Stop a Remote Process After Debugging It

Clean-up processes after interacting with them in remote debugging scenarios.

Create a new Go Remote run configuration type via _Run | Edit Configurations... | + Go Remote. In the run configuration settings, in the On disconnect section, choose either Stop remote Delve process, Leave it running, or Ask to determine how the configuration behaves when you stop the debugger.


Related Resources

Run Target support via WSL
Run Target support via WSL
Run your application or tests in Windows Subsystem for Linux (WSL) with ease.
Dump Goroutines from a Running Application
Dump Goroutines from a Running Application
Inspect the goroutines and memory of your application as it runs.
Inline Watches in Debugger
Inline Watches in Debugger
Keep your eyes on the code at all times.