Hacker News new | ask | show | jobs
by mbrumlow 587 days ago
Idk. I feel like the second you need to use a debugger your code and design has become too complicated and needs to be rethought.

In general anything you would want to debug should probably be exposed as a unit test and the area of concern should have test cases made that trigger the behavior you are concerned about.

The entire process of debugging essentially results in the same process as you would need to do to create unit test. While it is faster it is lost once done, making the entire process one shot.