
Runtime Debug
vercel/next.jsOfficial
Debug workflow for runtime-bundle and module-resolution regressions, including CI env mirroring and stack trace visibility.
- skills.sh installs
- 990
- GitHub stars
- 143.6K
- last updated
- May 16, 2026
What it does
- Covers local repro of CI failures, stack trace visibility, user-bundle regression guardrails, and webpack stats diffing
- Includes
IS_WEBPACK_TEST=1andNEXT_SKIP_ISOLATE=1env mirroring,__NEXT_SHOW_IGNORE_LISTED=truefor full dev server traces, and route trace inspection - Adds a
test-start-webpackassertion that fails when traced server chunks contain forbidden internals likenode:stream/promises - Designed for Next.js maintainers diagnosing unexpected module inclusions, bundle size regressions, and CI failures tied to
module.compiled.jsselection
Install
$ npx -y skills add vercel/next.js --skill runtime-debug -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Runtime Debug
Use this skill when reproducing runtime-bundle, module-resolution, or user-bundle inclusion regressions.
Local Repro Discipline
- Mirror CI env vars when reproducing CI failures.
- Key variables:
IS_WEBPACK_TEST=1forces webpack (turbopack is default),NEXT_SKIP_ISOLATE=1skips packing next.js. - For module-resolution validation, always rerun without
NEXT_SKIP_ISOLATE=1.
Stack Trace Visibility
Set __NEXT_SHOW_IGNORE_LISTED=true to disable the ignore-list filtering in dev server error output. By default, Next.js collapses internal frames to at ignore-listed frames, which hides useful context when debugging framework internals. Defined in packages/next/src/server/patch-error-inspect.ts.
User-Bundle Regression Guardrail
When user next build starts bundling internal Node-only helpers unexpectedly:
Details
- Repository
- github.com/vercel/next.js
- Categories
- Debugging, Frontend & UI Code
- First seen
- Apr 16, 2026
More from vercel/next.js
All 14Similar to Runtime Debug
More Debugging
next-dev-loopSkillvercel/next.js26K installsRuntime verification loop for Next.js dev servers, cross-checking the framework's view against a real browser's.
Next Devtools McpMCP serververcel839 starsConnects to running Next.js dev servers for live errors, routes, and logs, plus docs and browser gateways.
debuggerSkillzhaono1/agent-playbook678 installsSystematic debugging workflow that reproduces, isolates, and verifies fixes across JavaScript, Python, and Go.
fullstack-debuggerSkillcuriositech/some_claude_skills148 installsSystematic troubleshooting for Next.js, Cloudflare Workers, and Supabase stacks covering auth, RLS, CORS, and caching failures.
pr-status-triageSkillvercel/next.js839 installsTriage CI failures and PR review feedback in the Next.js monorepo via scripts/pr-status.js, blocker-first.
debugSkillanthropics/knowledge-work-plugins6.1K installsStructured debugging session that reproduces, isolates, diagnoses, and fixes issues from error messages or symptoms.