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.
Or read this on Hacker News