skills/smithery.ai/debug:express

debug:express

SKILL.md

Express.js Debugging Guide

A systematic approach to debugging Express.js applications using proven techniques and tools.

Common Error Patterns

1. Cannot GET /route (404 Errors)

Symptoms: Route returns 404, middleware not matching Common Causes:

  • Route not registered before catch-all handlers
  • Missing leading slash in path
  • Case sensitivity issues
  • Router not mounted correctly
// Wrong: catch-all before specific routes
app.use('*', notFoundHandler);
app.get('/api/users', getUsers); // Never reached
Installs
2
First Seen
Apr 2, 2026