by ProfXponent · 4y ago · 0 comments
It’s pretty trivial to setup a debugger in most IDE’s these days and share a config with your team.
Print logging falls flat on its face in async systems.
I feel like the ven diagram of people using text editors as a replacement for IDE’s and people doing print logging must be a circle.
it's really fundamental to have good logging! both to discover issues as they unfold, and to debug past runs of the program for which you didn't know there was a problem and as such you didn't run the code in a debugger
The approach you described is much more structured and absolutely vital.
Use with a filtering tool to filter in on a specific area of concern on specific threads.
Bonus if your logging also is tracing and ingested into some big data or telemetry tool.