Notes on debugging
Practical guides for React and Spring Boot developers: slow SQL, broken requests, RAG pipelines and coding agents, each one grounded in a real trace.
-
How to find N+1 queries in Spring Boot and fix them
An endpoint that is fine with five rows and slow with five hundred is usually an N+1. Logs hide it. A trace shows it.
Read the post -
Trace a React click all the way to the SQL query
The Network tab says the request took a second. The Spring logs say something else. Here is how to get both on one timeline.
Read the post -
Debug a RAG pipeline in Spring AI: what was retrieved and what the model saw
A wrong answer from a RAG app has at least four possible causes. Most of them are invisible unless you can see the retrieval and the final prompt side by side.
Read the post -
Let Claude Code read your Spring Boot traces over MCP
Coding agents are good at reading code and bad at knowing what your app actually did. A trace closes that gap.
Read the post