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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024

ความคิดเห็น • 33

  • @moibe182
    @moibe182 หลายเดือนก่อน +1

    Just excellent! Straight to the point! Thanks!!

  • @impgames5753
    @impgames5753 ปีที่แล้ว +4

    Exactly what I was looking for. Thank you.

  • @ricardocardona6013
    @ricardocardona6013 ปีที่แล้ว +1

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

  • @michaelshaw9997
    @michaelshaw9997 ปีที่แล้ว +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.

  • @jimkontos8818
    @jimkontos8818 ปีที่แล้ว +2

    Very Helpful

  • @litttlemooncream5049
    @litttlemooncream5049 3 หลายเดือนก่อน +2

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

  • @kevon217
    @kevon217 ปีที่แล้ว

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

  • @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?

  • @JAMMIM19
    @JAMMIM19 2 ปีที่แล้ว +2

    Great and concise video!

  • @meditationcastle6492
    @meditationcastle6492 29 วันที่ผ่านมา

    Thanks a lot!

  • @tacowilco7515
    @tacowilco7515 10 หลายเดือนก่อน +1

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

  • @nicopostigo123
    @nicopostigo123 8 หลายเดือนก่อน

    Thank you!

  • @pouyahallaj4445
    @pouyahallaj4445 ปีที่แล้ว

    Awsome video!

  • @blaine_stl
    @blaine_stl 5 หลายเดือนก่อน

    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?

  • @reginaldcornwalingford6210
    @reginaldcornwalingford6210 หลายเดือนก่อน

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

  • @adxmreal
    @adxmreal ปีที่แล้ว +2

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

    • @knowledgeworld2866
      @knowledgeworld2866 10 หลายเดือนก่อน +1

      Did u save this file?

    • @adxmreal
      @adxmreal 10 หลายเดือนก่อน +1

      @@knowledgeworld2866 i fixed that, thank u

  • @bbrendon
    @bbrendon 3 หลายเดือนก่อน

    What if F5 doesn't do anything?

  • @mantikoragio6555
    @mantikoragio6555 ปีที่แล้ว

    cheers!

  • @FabienDuran
    @FabienDuran 11 หลายเดือนก่อน

    F5 does not start debug

  • @sharonstark8551
    @sharonstark8551 3 หลายเดือนก่อน

    Please update. This no longer works.

  • @fantasticbro8189
    @fantasticbro8189 ปีที่แล้ว

    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  ปีที่แล้ว

      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 ปีที่แล้ว

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

    • @blackburn1489
      @blackburn1489 ปีที่แล้ว

      @@fantasticbro8189 hove you find the solution?

  • @fdffefegtetrtrg8445
    @fdffefegtetrtrg8445 5 หลายเดือนก่อน

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

  • @christian-reed
    @christian-reed ปีที่แล้ว

    what interpreter

  • @VamsiKrishna-h6d
    @VamsiKrishna-h6d 19 วันที่ผ่านมา

    littile bit confusion