-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Django debugger not work #170
Comments
@SwagVervindil The PTVS team is in the middle of some major changes to their debugger. As soon as they are done with that work i'll look into this. Apologies for the delay. |
@SwagVervindil Would you be able to provide a sample repository to replicate this issue? |
I do not have this issue - I was just trying to triage from the other issue. |
It's been a while without more info, closing. Feel free to reactivate if this is still a problem. Thanks. |
@DonJayamanne I also had this issue and I created a simple app to help reproduce it. Will this help? https://github.com/mozillalives/django-vscode-demo VS Code version: 1.22.2 |
I've managed to replicate this issue at my end (on the experimental version of the debugger). |
This has been resolved in the new debugger microsoft/ptvsd#406 |
From @SwagVervindil on August 27, 2017 18:2
Environment data
VS Code version: 1.15.1
Python Extension version: 0.7.0 (3 August 2017)
Python Version: 3.6.0
OS and version: Windows 10
Actual behavior
When I start debug my code break when I want get request.data:
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream
And server return 500 HttpCode
If I set reakpoint before request.data i have this errors, bit if set after all work fine
Expected behavior
To run next line. I check in pycharm and this code work fine.
Code
I use djangorestframework version: 3.5.4
launch.json
Copied from original issue: DonJayamanne/pythonVSCode#1181
The text was updated successfully, but these errors were encountered: