Allow for detaching of debugger#394
Conversation
|
Have you verified that you can re-attach to a detached debugger? |
|
Ahh I didn't try that. Unfortunately no, it does not. I believe it is plagued by the same issue mentioned in #125 |
|
I'm still not sure I like this change. Here's what the VSCode docs say on this:
So this change goes against their debugger recommendations. In addition, what workflow would one use to either reattach to the process (I do need to fix it via #125 but let's assume for now I have not) or kill the process? Wouldn't starting a new debug session spawn a new Ruby process (or another Rails server)? |
|
What's the reasoning for this not being worked on still? Because it won't re-attach to the process? The change seems to be in line with their debugger recommendations, if it attaches to a debugger, then it should detach, not send a |
|
That's not what this PR does. The debugger (and its behavior) IS being worked on |
Building off of #333, I added a settings option
detachDebuggerwhich will allow a user to chose to just detach instead of quitting a debugging process. This helps to make sure your Rails server doesn't get shut down whenever you quit the debugger.If/when this PR is merged, I will update the wiki page to reflect the new option.