Get the latest tech news

Things you can do with a debugger but not with print debugging


People do or do not use debuggers for a variety of reasons. For one thing, they are hard to setup in many codebases.

Most debuggers for high-level languages let you evaluate expressions involving function calls and even modify the state of the running program. If your team is using VSCode or IntelliJ IDEs, it’s possible to check in debug configuration files so that everyone can have a standardized local development flow. Make it a convention to have a debug configuration for every entry-point of the application (such as the server or the CLI), this way a new contributor can have a decent head start with the codebase.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of things

things

Photo of debugger

debugger

Photo of print debugging

print debugging

Related news:

News photo

Apple’s Big iPhone 17 and Smartwatch Event: Six Things to Watch

News photo

The first 10 things to do with the Google Pixel 10

News photo

Five Things to Expect From Apple's 'Awe Dropping' September 9 Event