We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
├── maindir │ └── main.py └── mypackage └── __init__.py
main.py
import os print(os.listdir()) import mypackage # or similarly from . import mypackage
__init__.py
print("This worked!")
/tmp/example/maindir/main.py
/usr/local/bin/python3
/tmp/example
/tmp/example/
Traceback (most recent call last): Python Debugger 4:07:41 PM File "/tmp/example/maindir/main.py", line 3, in <module> Python Debugger 4:07:41 PM import mypackage Python Debugger 4:07:41 PM ModuleNotFoundError: No module named 'mypackage'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It appears that python-debugger cannot be used to debug custom packages; steps to reproduce:
main.py
__init__.py
/tmp/example/maindir/main.py
/usr/local/bin/python3
/tmp/example
main.py
confirms that I am in/tmp/example/
yet executing the third one fails withmain.py
to Cwx (/tmp/example
) the import works!The text was updated successfully, but these errors were encountered: