You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When terminating debug session using stop button, it does not directly kill the program process; instead, the program receives a signal and gracefully terminates after completing business logic
技术细节 | Technical Details
此项目有助于理解不同IDE在Go程序调试实现上的差异,特别是在进程管理和信号处理方面的不同表现。
This project helps understand the differences in Go program debugging implementation between IDEs, especially in terms of process management and signal handling.
疑问 | Questions
怎样配置VSCode让它在调试时与GoLand效果一样?
How to configure VSCode to achieve the same debugging behavior as GoLand?
findleyr
added
Debug
Issues related to the debugging functionality of the extension.
Question
This is a question, rather than an issue report.
labels
Mar 19, 2025
I have locally verified the behavior, vscode-go debugging does not gracefully terminate the process. I don't have goland installed but based on your recording, seems like goland grant process time to gracefully terminate.
There is a very old issue related to gracefully termination upon debugging here #120.
But I'm not aware that goland already support this behavior. I will check if dlv have any update on their side and how we can integrate it with vscode-go.
I will close this as duplicated and post my update in the issue 120 once I done by investigations.
The text was updated successfully, but these errors were encountered: