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
Set breakpoints, attach debugger and hit breakpoints successfully
Detach and reattach debugger, debugger no longer stops at the breakpoints as expected
Actual behavior
If I reattach the debugger (after the first time), it does not stop at the set breakpoints. I have to rerun odo push --debug
and odo debug port-forward to hit the breakpoints again.
Expected behavior
I can detach and reattach the debugger and still hit the set breakpoints every time
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered:
@mik-dass explained to me that I should be setting breakpoints in the loaded scripts section, rather than directly in the local file. It works as expected after all! Perhaps there is some documentation needed for this, though this should be on the VSCode side rather than Odo. Closing this issue as it is not a problem with Odo.
/kind bug
What versions of software are you using?
Operating System: macOS
Output of
odo version
: masterHow did you run odo exactly?
odo create --downloadSource
odo url create --port 3000
odo push --debug
odo debug port-forward
Actual behavior
If I reattach the debugger (after the first time), it does not stop at the set breakpoints. I have to rerun
odo push --debug
and
odo debug port-forward
to hit the breakpoints again.Expected behavior
I can detach and reattach the debugger and still hit the set breakpoints every time
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: