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
I copied the test code from the docs into a little script and also required Ruby's debug gem.
As shown below, I've placed a breakpoint just before the request is made. I then run the request in the debugger using the exact line in the script: response = client.get("/"), but the debugger hangs and there's no response.
Running without the debugger works absolutely fine. It's no big deal for my actual work but I'm just curious as to why this happens?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I copied the test code from the docs into a little script and also
require
d Ruby'sdebug
gem.As shown below, I've placed a breakpoint just before the request is made. I then run the request in the debugger using the exact line in the script:
response = client.get("/")
, but the debugger hangs and there's no response.Running without the debugger works absolutely fine. It's no big deal for my actual work but I'm just curious as to why this happens?
Beta Was this translation helpful? Give feedback.
All reactions