How do you get the logs when the debugger isn't attaching #15805
Unanswered
elmehalawi
asked this question in
Q&A
Replies: 1 comment 4 replies
-
If there were any logs it would be in the Output Panel. But can I ask where you got the instructions for debugging? We have not used ptvsd as our debugger in quite some time; debugpy is our debugger. Please see https://code.visualstudio.com/docs/python/debugging for instructions on how to set up debugging. And we have support for Django in-the-box, so you shouldn't have to connect remotely to it if you're running your dev server locally. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to connect the debugger to my django application. I added this to the manage.py file:
And I have the following launch configuration:
This setup used to work, and as far as I can tell, I haven't changed anything recently. But it stopped working the other day. Maybe there was an update that introduced a breaking change, I don't know.
Now what happens when I run this launch config is the debug controls show up for a few seconds then disappear. I don't get any other indication of what's happening.
Is there a way to get logs so I can see what's going on? I tried getting the vscode logs like this :
And I got an output that looks like this:
But nothing when I try to run the debugger.
Beta Was this translation helpful? Give feedback.
All reactions