I'm debugging a request in my rails app by attaching to the process and placing a breakpoint inside a controller action. Once I make a request, it behaves exactly as I would expect: pausing at the breakpoint.
However if I leave the paused debug view open for 30-40 seconds it disconnects and I lose my place in the code. Is this happening because of some kind of request timeout in rails, or is there a configuration setting I need to change in rdbg?
I'm using the VScode devcontainer feature to define the dev environment.
This is my launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "rdbg",
"name": "Attach with rdbg",
"request": "attach",
"useBundler": true,
"shell": "bash"
}
]
}
Hi, thanks for making this extension
I'm debugging a request in my rails app by attaching to the process and placing a breakpoint inside a controller action. Once I make a request, it behaves exactly as I would expect: pausing at the breakpoint.
However if I leave the paused debug view open for 30-40 seconds it disconnects and I lose my place in the code. Is this happening because of some kind of request timeout in rails, or is there a configuration setting I need to change in rdbg?
I'm using the VScode devcontainer feature to define the dev environment.
This is my launch.json: