Advanced Debugging in PyCharm

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 27

  • @Klavionik
    @Klavionik 4 года назад +4

    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.

  • @Ahmad-mq8xr
    @Ahmad-mq8xr 2 года назад

    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!

  • @nikolaysokolov9027
    @nikolaysokolov9027 4 года назад +3

    Thanks! It're really useful.

  • @TheUnitto
    @TheUnitto 4 года назад +4

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

    • @elizavetashashkova893
      @elizavetashashkova893 4 года назад +4

      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

    • @justoneofthepeople7585
      @justoneofthepeople7585 4 года назад

      @@elizavetashashkova893 thank you

    • @timfairfieldAETestandMeasure
      @timfairfieldAETestandMeasure 4 года назад

      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?

  • @UnholyRenton
    @UnholyRenton Год назад

    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?

  • @zalmangoldstein3823
    @zalmangoldstein3823 2 года назад

    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?

  • @IgnisTMage
    @IgnisTMage 4 года назад

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

  • @jnscollier
    @jnscollier 2 года назад

    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.

  • @jessehahka
    @jessehahka 4 года назад

    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?

  • @ThomasMeliWellness
    @ThomasMeliWellness 2 года назад

    Absolutely fantastic.

  • @tungsondo6411
    @tungsondo6411 4 года назад

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

    • @Adyel-YT
      @Adyel-YT 4 года назад

      There is a plugin for that. Look at intellij plugin menu

    • @AnthonyShaw
      @AnthonyShaw 4 года назад +1

      It's called the Nyan Progress Bar plugin plugins.jetbrains.com/plugin/8575-nyan-progress-bar

  • @stefanagapie1769
    @stefanagapie1769 2 года назад

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

  • @Ahmad-mq8xr
    @Ahmad-mq8xr 2 года назад

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

  • @veloz7860
    @veloz7860 3 года назад +1

    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

  • @jagadishb14
    @jagadishb14 4 года назад +10

    You should have used dark theme 🙄

    • @pauleveritt201
      @pauleveritt201 4 года назад +6

      The feedback we've gotten in the past is 60% "use light theme", so we try to alternate.

    • @d3stt1ny
      @d3stt1ny 4 года назад +1

      @@pauleveritt201 Definitely light theme gang here

  • @anandmaurya6133
    @anandmaurya6133 Год назад +1

    Very helpful tutorial, Thanks .
    For Shorter version Python Debugging in Pycharm. ruclips.net/video/vQp_s7ugBTE/видео.html

  • @Sergiorius_Terrible
    @Sergiorius_Terrible Год назад

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

  • @dasstraat
    @dasstraat 5 месяцев назад

    Not that advanced, still the basics.

  • @stefanagapie1769
    @stefanagapie1769 2 года назад

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