4 ms·
Go debugging is nearly the exact same experience as Python. GoLand (from JetBrains ... same folks that make Pycharm) or VSCode with delve debugger work flawless
by bloblaw 4y ago
Go debugging is nearly the exact same experience as Python. GoLand (from JetBrains ... same folks that make Pycharm) or VSCode with delve debugger work flawlessly.
I don't think there is any difference between Go and Python when it comes to debugging. Support for both is widespread and high-quality.
- haihaibye 4y agoThe post you replied to mentioned an interpreter. Does Go provide an interactive REPL?
- radicalbyte 4y agoYou don't really need a REPL with an IDE, you have excellent auto-complete which shows you the API (which is what I use the Python REPL for) and are unless you're writing pure framework code (or mapping etc - in which case integration testing gives more bang for the buck) then you're probably writing unit tests. I use a continuous test runner for those as the feedback is amazing.
- haihaibye 4y agoAPI autocomplete and unit tests are not a replacement for a debugger, it's a separate use case. Being able to evaluate code while in the middle of a breakpoint is extremely useful. You don't need to say it doesn't matter. Your language has features Python doesn't have, there can be tradeoffs
- bloblaw 4y agoNot natively, but there is a community developed one called gore: https://github.com/x-motemen/gore https://github.com/x-motemen/gore