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 I am debugging code, sometimes I want to type a ruby expression and have the debugger run on that command so I can see what is happening inside. For this case what I do now is stop the debugger and add the line into the source with a breakpoint in front of it and then rerun my tests. It would be cool if I could have a command like "debug " which would run and act as if a breakpoint was set on it.
The text was updated successfully, but these errors were encountered:
+1 here, it's very useful to use sub-debuggers. Especially when used in the pry-byebug combo. At the moment I'm mostly using pry and only sometimes byebug when debugging commands are important.
When I am debugging code, sometimes I want to type a ruby expression and have the debugger run on that command so I can see what is happening inside. For this case what I do now is stop the debugger and add the line into the source with a breakpoint in front of it and then rerun my tests. It would be cool if I could have a command like "debug " which would run and act as if a breakpoint was set on it.
The text was updated successfully, but these errors were encountered: