How To Debug VSCode with Go (Golang)

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

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

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

    For console input, you can use `"console": "integratedTerminal"` option, this will allow your program to run in a separate terminal to enter your inputs and it'll stop on your break points

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

      Thank you, that was new to me and so helpful, I use it now all the time!

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

    Great work...
    Some feedback:
    I have to agree with the comments. The banner on the right would be better set as a watermark that you can attach to the videos or on top as a TH-cam feature (not sure if every channel has that option or only larger channels.)
    Font size is fine for the desktop or laptop screens, but on mobile or a tablet it is too small.
    Keep up the great content.

  • @HendersonHood
    @HendersonHood ปีที่แล้ว +31

    A big ugly banner on the right-hand wasting valuable screen space. Meanwhile, the fonts are small that you can't see the code in Vscode.

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

    It’s ok man, this is why quality checks exist but as a beginner on TH-cam you dont have that yet lol keep at it and remember it is Audio first, then visuals - then content.

  • @GoWithAndy-cp8tz
    @GoWithAndy-cp8tz หลายเดือนก่อน

    Hi ! thanks for the vid. I have a question: How to pass parameters if necessary to the program. Usually I type command-line: go run . filename.xls // when program expects to pass Excel filename to it. How I can pass similarly in case of debugging? Where can I set this up? Cheers!

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

      @GoWithAndy - args are tricky but doable in the launch.json file, just add (I'm adding single quotes to signal it is the start of what to add, don't add them) 'args: ["filename.xls"]`. Its an array and the debugger will just tack on the "args" with spaces in between them just like you would in the terminal. Hope that helps.

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

    Excellent! But, the font size in video is to small!

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

    Thx this helps a loot 👌

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

    video is small, and i can't hear you, bye

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

    thx for this tutorial

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

    good content, bad video layout

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

    Disliked because of small fonts and occupying half of the screen with a useless banner!

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

    Thank you!

  • @JaneDoe-od4ep
    @JaneDoe-od4ep 6 หลายเดือนก่อน

    Is there an ADHD version of this video?

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

    Zoom in man