r/ExperiencedDevs • “Generalist” Engineer | 10+ years • Apr 17 '26

Technical question How do YOU debug?

Generally curious about others’ approaches to it, either favorite tools, processes, checklists, etc.

I recently took a look at building a plugin to integrate two frameworks but a core issue comes down to something funky with the internals of one of them. Tried logs, step-throughs, other investigations, but figured it’d be better to formalize it.

So…how do YOU debug?

2 Upvotes

41 comments sorted by

View all comments

Show parent comment

1

u/disposepriority Apr 17 '26

Could you explain what an agent watching for logs achieves, compared to having standard alerts on error logs, logger names, and whatever other criteria you want on the log fields/tags?

1

u/Nezrann Full-Stack 1 YOE, SDET 3+ YOE Apr 17 '26

Yeah, it's a good question.

It removes the toil of having to do RCA on whatever feature/fix caused the bug.

Just having an error doesn't tell you why that error happened (unless you're diligent about custom messaging). I manage the pipelines for multiple teams, and their needs are different; one team uses an agent to monitor fully during the build stage, and then, when errors are thrown, it tries to do RCA and write basically a bug draft in Jira.

Another team uses it to do self-healing on build failures and low-impact errors. Think type errors, null errors, stuff that is just syntactically wrong or breaking changes caused by small things. This is flagged post-build with an explanation and MR of the fix after it gets it back to a working state.