Advanced Debugging in PyCharm

preview_player
Показать описание
PyCharm's debugger is one of its most popular features. But many just stick to the basics and don't learn intermediate and advanced features.

In this webinar, two of PyCharm's core developers who work on the #debugger show its less-known but powerful features, while talking a bit about the debugger architecture and future improvements.

Timeline:
00:00 - Introduction
01:24 - Liza shows advanced features of the debugger
31:02 - Andrey shows remote debugging
50:39 - Andrey covers architectural ideas for debugging
 
Resources:

About the Presenters

Рекомендации по теме
Комментарии
Автор

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.

Klavionik
Автор

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!

Ahmad-mqxr
Автор

Is it possible for pycharm's debugger to attach to python scripts that run inside of other applications, like irc clients or media players?

IgnisTMage
Автор

What about debugging async code? Do you have plans to implement evaluation of coroutines and other things?

TheUnitto
Автор

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.

jnscollier
Автор

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?

zalmangoldstein
Автор

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?

jessehahka
Автор

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?

UnholyRenton
Автор

How to config the progress bar to cat and rainbow like that in video :D

tungsondo
Автор

The title of the second half should be, Andrey shows remote debugging but he won't actually show us how to do it.

stefanagapie
Автор

Finally I will stop flood my code with "print" lines...

Ahmad-mqxr
Автор

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

veloz
Автор

i dont understand you completetely yet :( its like a motivation to study english hardly!

Sergiorius_Terrible
Автор

This is terrible. Why not have the presenter do this in their native language and add subtitles?

stefanagapie