To the question of logging output into the file (23:25). Liza said you can't do that, but actually, you can use the built-in function open(). Type into "Evaluate and log" field something like "open('my.log', 'a').write(f'{text} {final}')" and it will write values of "text" and "final" variables into the file.
Great video! Especially case with errors. Even if English sometimes confusing :) As Russian to Russian, really likes Liza's approach to telling story, widely covered topic on debug!
Hi! We have several feature requests about async debugging: youtrack.jetbrains.com/issue/PY-24748 and youtrack.jetbrains.com/issue/PY-22961. We're going to implement them soon, so feel free to vote for the issues and follow for updates
Elizabeth Shashkova Exciting I cant wait. I have a .net dll with and a callback handler and i’m using pythonnet. would love to debug what is going on between my python script and the callback and even breakpoint. Is this going to be possible in this upcoming asynch feature? When is the expected release?
The lecturer was asked (minute 48) about debugging a docker running on a remote host, and he answered that it can be done using some magic. How to do it?
You lost me on how to set up the Remote Debug Server. I see that you created a custom configuration (to use Python Debug Server) but I don't understand how the project Interpreter needs to be defined/configured. It looks like you might be using the Interpreter you defined in the previous step (Remote Interpreter) but you go very fast through that. Also, how is the remote application started in this case? I appreciate your time in making the video but you are skipping over things someone would not understand if they had not done remote debugging for the first time. It feels like this video is more geared to someone who has done this all before and just needs a refresher.. I was really hoping for something more tutorial based
To the question of logging output into the file (23:25). Liza said you can't do that, but actually, you can use the built-in function open(). Type into "Evaluate and log" field something like "open('my.log', 'a').write(f'{text} {final}')" and it will write values of "text" and "final" variables into the file.
Great video! Especially case with errors. Even if English sometimes confusing :) As Russian to Russian, really likes Liza's approach to telling story, widely covered topic on debug!
Thanks! It're really useful.
What about debugging async code? Do you have plans to implement evaluation of coroutines and other things?
Hi! We have several feature requests about async debugging: youtrack.jetbrains.com/issue/PY-24748 and youtrack.jetbrains.com/issue/PY-22961. We're going to implement them soon, so feel free to vote for the issues and follow for updates
@@elizavetashashkova893 thank you
Elizabeth Shashkova Exciting I cant wait. I have a .net dll with and a callback handler and i’m using pythonnet. would love to debug what is going on between my python script and the callback and even breakpoint. Is this going to be possible in this upcoming asynch feature? When is the expected release?
Ok first thing, at 2:04, there is a python script and a jupyter notebook that are open side by side, how can this be done?
The lecturer was asked (minute 48) about debugging a docker running on a remote host, and he answered that it can be done using some magic.
How to do it?
Is it possible for pycharm's debugger to attach to python scripts that run inside of other applications, like irc clients or media players?
Is there a video on how to debug Javascript efficiently in PyCharm Django projects? I must be doing something wrong because it's quite hard.
I only 5 minutes in and I could not continue.. The 'my.log' is not working. What can I do if my logger is not logging?
Absolutely fantastic.
Glad you think so!
How to config the progress bar to cat and rainbow like that in video :D
There is a plugin for that. Look at intellij plugin menu
It's called the Nyan Progress Bar plugin plugins.jetbrains.com/plugin/8575-nyan-progress-bar
The title of the second half should be, Andrey shows remote debugging but he won't actually show us how to do it.
Finally I will stop flood my code with "print" lines...
You lost me on how to set up the Remote Debug Server. I see that you created a custom configuration (to use Python Debug Server) but I don't understand how the project Interpreter needs to be defined/configured. It looks like you might be using the Interpreter you defined in the previous step (Remote Interpreter) but you go very fast through that. Also, how is the remote application started in this case? I appreciate your time in making the video but you are skipping over things someone would not understand if they had not done remote debugging for the first time. It feels like this video is more geared to someone who has done this all before and just needs a refresher.. I was really hoping for something more tutorial based
You should have used dark theme 🙄
The feedback we've gotten in the past is 60% "use light theme", so we try to alternate.
@@pauleveritt201 Definitely light theme gang here
Very helpful tutorial, Thanks .
For Shorter version Python Debugging in Pycharm. ruclips.net/video/vQp_s7ugBTE/видео.html
i dont understand you completetely yet :( its like a motivation to study english hardly!
Not that advanced, still the basics.
This is terrible. Why not have the presenter do this in their native language and add subtitles?