How To Debug Python Code In Visual Studio Code (VSCode)

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 35

  • @valentinasinichenko751
    @valentinasinichenko751 Місяць тому +2

    amazing, clear, simple. thank you! I am ready to finally start debugging my code instead of doing a bunch of prints :)

    • @ghosttogether
      @ghosttogether  Місяць тому

      @@valentinasinichenko751 glad it helped :) wooo! python debugging!

  • @moibe182
    @moibe182 3 місяці тому +2

    Just excellent! Straight to the point! Thanks!!

  • @impgames5753
    @impgames5753 Рік тому +4

    Exactly what I was looking for. Thank you.

  • @lgf30022
    @lgf30022 Рік тому +2

    Just found this. Thanks for the intro to debugging. What about executing a debuging program in another directory (where the data is located but the python code is in another directory in your system path)? What about the custom debug file launch.json, what's that all about?

  • @ricardocardona6013
    @ricardocardona6013 Рік тому +1

    Nice video, too clear to understand even with my intermediate english :)

  • @tacowilco7515
    @tacowilco7515 11 місяців тому +1

    Is it possible to break on main automatically (without specifying breakpoints) ?

  • @michaelshaw9997
    @michaelshaw9997 2 роки тому +2

    Thank you for this. It has been very helpful.

  • @moichumoirunescape
    @moichumoirunescape Рік тому +3

    Thank you, very helpful and clear!

  • @LukeCodes-JobbyorBust
    @LukeCodes-JobbyorBust Рік тому +1

    Thanks, this helped me understand it better.

  • @blaine_stl
    @blaine_stl 6 місяців тому

    I’ve yet to find if it’s possible to view the dimensions of variables, like if it’s a [128,1,32,32] tensor, where can I easily find those dimensions?

  • @litttlemooncream5049
    @litttlemooncream5049 5 місяців тому +2

    thanks a lot! really helpful and gave you the 666 thumbup which means pretty cool! haha

  • @jimkontos8818
    @jimkontos8818 Рік тому +2

    Very Helpful

  • @kevon217
    @kevon217 Рік тому

    Great, simple tutorial. Switching to vs code from pycharm and this was helpful!

  • @meditationcastle6492
    @meditationcastle6492 2 місяці тому

    Thanks a lot!

  • @JAMMIM19
    @JAMMIM19 2 роки тому +2

    Great and concise video!

  • @reginaldcornwalingford6210
    @reginaldcornwalingford6210 3 місяці тому

    press ctrl f5 to open vscode's debugger menu, just pressing f5 won't work.

  • @nicopostigo123
    @nicopostigo123 9 місяців тому

    Thank you!

  • @adxmreal
    @adxmreal Рік тому +2

    why when i press F5 i don't find python file??????????

  • @fantasticbro8189
    @fantasticbro8189 2 роки тому

    Hello sir I'm a newbie to visual studio, and whenever I run/debug my program to Chrome it just opened and within a sec or 2 it closes, i tried changing my browser, tried uninstalling and reinstalling visual studio both didn't work.
    Please can you help?

    • @ghosttogether
      @ghosttogether  2 роки тому

      Hmm, this is python debugging, so it should have nothing to do with Chrome browser. Python is debugged in Terminal. You might have something in your settings.json triggering Chrome open, but not sure.

    • @fantasticbro8189
      @fantasticbro8189 2 роки тому

      @@ghosttogether i need it's fix sir any help please?

    • @blackburn1489
      @blackburn1489 Рік тому

      @@fantasticbro8189 hove you find the solution?

  • @pouyahallaj4445
    @pouyahallaj4445 2 роки тому

    Awsome video!

  • @mantikoragio6555
    @mantikoragio6555 2 роки тому

    cheers!

  • @bbrendon
    @bbrendon 4 місяці тому

    What if F5 doesn't do anything?

  • @sharonstark8551
    @sharonstark8551 5 місяців тому

    Please update. This no longer works.

  • @FabienDuran
    @FabienDuran Рік тому

    F5 does not start debug

  • @christian-reed
    @christian-reed Рік тому

    what interpreter

  • @fdffefegtetrtrg8445
    @fdffefegtetrtrg8445 6 місяців тому

    It doesn't work. Its behaviour is like breakpoints aren't in the code.

  • @VamsiKrishna-h6d
    @VamsiKrishna-h6d 2 місяці тому

    littile bit confusion