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
Decided to port some code to run as a module with a __main__.py file, but now when I try to debug it using %run -d -m my_module, I get the following error:
End of file
End of file
End of file
End of file
End of file
End of file
End of file
End of file
End of file
End of file
End of file
UsageError:
I failed to find a valid line to set a breakpoint
after trying up to line: 11.
Please set a valid breakpoint manually with the -b option.
I changed my __main__.py to just be a single print statement and still got the error. I set the breakpoint manually using %run -d -b my_module/__main__.py:1 -m my_module and then the code ran but didn't ever break. In general it just seems like -d and -m don't play well together.
The text was updated successfully, but these errors were encountered:
Decided to port some code to run as a module with a
__main__.py
file, but now when I try to debug it using%run -d -m my_module
, I get the following error:I changed my
__main__.py
to just be a single print statement and still got the error. I set the breakpoint manually using%run -d -b my_module/__main__.py:1 -m my_module
and then the code ran but didn't ever break. In general it just seems like-d
and-m
don't play well together.The text was updated successfully, but these errors were encountered: