Skip to main content
All editions

Beyond the Abstraction

Are Your Senior Developers Debugging or Building?

Bruno Valente e Costa · · 4 min read

In "another life", I once asked an engineering manager a simple question: "What percentage of our senior developers' time goes to debugging production issues versus building new features?"

She paused. Then she said, "I don't want to know the actual number."

That pause told me everything.

The Senior Developer Tax

In most teams I've observed, the pattern is predictable.

A production issue surfaces. It's complex. The data is weird. The junior developers look at it, can't figure it out, and escalate.

Who gets called? The senior developer. The one with context. The one who remembers how that module was built three years ago. The one who can navigate the codebase faster than anyone else.

And suddenly, your highest-paid, most experienced engineer is spelunking through logs instead of designing the next feature.

What Senior Time Actually Costs

Let's do some rough math.

A senior developer costs, fully loaded, somewhere between €80,000 and €150,000 per year depending on your market. That's roughly €40-75 per hour.

If that developer spends 20% of their time debugging production issues that could have been caught earlier, that's 8 hours per week. At €50/hour, you're spending €400 per week, ~€20,000 per year, on reactive debugging.

Multiply by the number of senior developers on your team.

Now ask: how many of those debugging hours are spent reproducing the problem versus actually fixing it?

The Reproduction Trap

Here's what keeps happening.

A bug gets reported. The senior developer pulls the latest code, sets up their environment, and tries to reproduce the issue.

It works fine.

"Works on my machine." The most frustrating phrase in software development.

So they start digging. Is it the data? Is it the sequence of operations? Is it a race condition that only happens under specific load?

Hours pass. Sometimes days. Eventually, they either reproduce it or make an educated guess about the cause.

The fix itself? Often takes minutes once you know what's wrong.

The debugging? That's where the time goes.

Why Dev Environments Lie

The reason production bugs don't reproduce in development is simple: the environments are different.

Different data volumes. A dropdown with 10 items in dev, 47,000 in production.

Different data states. Clean, consistent test data versus years of accumulated edge cases.

Different relationships. Foreign keys that always resolve in dev, orphaned records in production.

Different timing. Operations that complete instantly with small datasets, timeouts with large ones.

Different infra, configs, integrations...

Your senior developers know this. That's why they're good at debugging. They've learned to mentally translate between what they see in dev and what might be happening in production.

But that mental translation takes time. Experience. Intuition built over years.

The Knowledge Concentration Problem

Your senior developers become debugging specialists not because they want to, but because they're the only ones who can. They have the institutional knowledge. They understand the data model. They know where the bodies are buried.

That makes them irreplaceable for debugging.

It also means they're not transferring that knowledge. They're not building the next generation of engineers. They're not designing systems. They're firefighting.

And when they leave, that debugging capability walks out the door with them.

The Junior Developer Gap

Meanwhile, your junior developers aren't learning.

They see a complex bug, escalate it, and move on. They never develop the intuition for production data. They never learn to read the patterns. They stay dependent on the seniors.

I've talked to managers who recognize this cycle but feel trapped by it.

"I can't let the juniors struggle with production issues for days. We have SLAs."

True. But the result is a team that never grows its debugging capability. The seniors carry an ever-increasing load. The juniors plateau.

What Would Change

Imagine a different scenario.

A bug gets reported. The developer, senior or junior, pulls production-representative data into their environment. Same volumes. Same edge cases. Same relationships.

They reproduce the issue immediately. Or they discover it's data-specific and know exactly which records to examine.

The debugging session that took hours now takes minutes.

The senior developers spend their time on architecture, mentoring, and building. The junior developers learn by doing, with real data, in a safe environment.

The organizational knowledge spreads instead of concentrating.

A Question for Engineering Leaders

Track this for a week: When your senior developers get pulled into debugging, how long does reproduction take versus fixing?

If reproduction consistently takes longer than fixing, you don't have a code quality problem. You have a context parity problem.

And if the context issue was related to the data, your seniors are spending their expertise on data archaeology instead of engineering.

Your Turn

How much of your senior developers' time goes to debugging versus building?

Is that ratio intentional, or is it something that happened gradually as the product grew?

I'm curious whether teams are tracking this or whether it's one of those metrics everyone suspects but nobody measures.

Bruno

P.S. Now here's a fun thought. With vibe coding, your senior developers aren't the ones debugging anymore. The LLM is. Your "senior" is now a model that wrote the code, forgot why it wrote it, and is improving at an absurd rate anyway.

I'm not going to pretend this isn't going to production. It will. It already is. And honestly, asking the same LLM to debug its own output might actually work better than asking a human to reverse-engineer code nobody fully understands.

But that raises questions I find genuinely interesting. Has anyone here actually stress-tested vibe-coded applications with production-scale data? What broke first? I have some ideas on where this is heading and I'd love to write more about it if there's appetite. Tell me in the comments.