Skip to main content

4 posts tagged with "debugging"

View All Tags

Frontend Debugging Cookbook — React SPA vs. Next.js

· 12 min read
Pere Pages
Software Engineer
Flat-vector split scene: a browser window on the left wired by tracing lines to a server stack and terminal on the right, with a magnifying glass and a small bug — the two runtimes you debug across.

Debugging a React single-page application (SPA) and debugging a Next.js App Router app are different sports, and the whole difference comes down to one thing: where your code runs. This is a recipe-oriented reference for the questions that keep coming up — where your logs went, how to see backend calls, how to observe React Server Components (RSC), and which logging options and tools are worth reaching for.

Practical curl: The Commands and Flags Developers Actually Use

· 9 min read
Pere Pages
Software Engineer
A terminal window with a data stream flowing out to a rack of servers, illustrating curl moving requests and responses between a machine and a server

Most developers use curl as a quick way to "hit an endpoint". But curl is much more than that — a tiny HTTP client, a debugging tool, a poor man's Postman, a network probe, a CI health checker, a download manager, and often the fastest way to understand what's really happening between your machine and a server. Here are 25 curl recipes I actually reach for.