Developer Tools / Code Debugger
Guide
How to use the Code Debugger
- 1
Paste the relevant code and the full error message.
- 2
Name the language or framework.
- 3
Apply the fix and add a test for the case.
Expert tip
What you should know
Most bugs are found by reading the first line of the stack trace that points into your own code. Reproduce the bug with the smallest possible input before changing anything.
FAQ
Frequently asked questions
What should I paste?+
The smallest piece of code that reproduces the error, plus the full stack trace.
You might also like
More Developer Tools tools →Regex Generator & Explainer
Describe the pattern in words; get a tested regular expression.
SQL Query Generator
Plain-English questions to correct SQL for your schema.
JSON Formatter & Validator
Pretty-print, minify and validate JSON in your browser.
Code Explainer
Paste code; get a plain-English walkthrough of what it does.
Cron Expression Generator
Describe a schedule; get the cron expression and next run times.
Base64 Encode / Decode
Encode text to Base64 or decode it back, UTF-8 safe.
URL Encode / Decode
Percent-encode text for URLs, or decode it back.
UUID Generator
Random v4 UUIDs, one or a thousand.