I wager most software projects start as small scale experiments where expedience rules. Printing to a console is perfectly good at this scale - and many such projects never make it beyond this scale. Tools like debuggers and structured logging can be introduced later, after it becomes clear that the project has ongoing value and the investment in extra tooling is worth it.