-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
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
Debuger not working coretly with Django #315
Comments
Which exception are you getting? |
@int19h as in point 1 (Exception has occurred: FileNotFoundError). the 3 blocking, next steps in debug offering next and app never runing in this way by VSC. In cmd working normaly and no problems. And important.. DJ 2.2.6 ! Damm.. I can't work with new version of DJ coz many old libs are not supported.. |
@ManPython some questions: What Python version are you using? Can you reproduce this with a getting started example or just in your own app? Can you send the full logs (the partial info in the description isn't really enough to know what's happening)? Which other libraries do you have installed in the env? |
@fabioz P 3.8.2 final. I getting this errors in any simple example and any basic start version of DJ 2.2.6. Will try prepare logs in next week. In fact there is nothing strange for me in comparision with others working. About libs, when DJ is basic then in settings nothing more as typical. If you asking about Python then I have many in case I often not using venv - hvr looks not related with this debuging errors. Just maybe take point that I'm using VSC portable and the settings like this: And.. there are 2 updates again and not sure it's still actual with this error, and logs can be other. |
Can you try without any of the Also, if you set As a note, we do have a test-case with Django 2.2 and I tried it locally (manually) and it seems to work and hit breakpoints both in regular files as well as templates. So, when you get the logs, it'd be also nice if you can provide the actual code and steps which you're making to test, to make sure I'm not missing anything here (i.e.: run app, add breakpoints at "xxx, line yyy", open url 127.0.0.1/my_app, expect ...). |
It was produced when changed "django"=false/true. After first meet of this any changes in this true/flase not backing like on 1st post as standard. Logs are not produced.. so...
Python 3.6.8 Version: 1.47.0 This same on (After last update): Version: 1.47.3 |
No changes if deleted |
@int19h I still don't understand why debugpy can't use normaly |
The debugger doesn't decide this. Python itself does. If the debugger is trying to load standard library files from a .zip, this means that you're running some version of Python that's packaged that way. |
Strange.. but clear now (good to know what problem was). If this how works, then nothing to do with this issue and can be closed. |
Environment data
Version: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:20.174Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 6.1.7601
Actual behavior
ptvsd.server-4608
pydevd.4608
Expected behavior
Normal debuging without blocking
Steps to reproduce:
The text was updated successfully, but these errors were encountered: