Tag

#debugging

86articles
BasicsNov 1, 2026

What is a source map — and why your error points to line 1, column 48213

What a source map is in plain words: how it turns an error in minified code into the right line of your file, and why you shouldn't publish it openly.

6 min read
GuidesOct 13, 2026

Why changing one item changes all of them — three causes and fixes

Changed one item and they all changed? Three reasons every array item changes at once: fill, an object reused in a loop, a shared default — and fixes.

6 min read
GuidesOct 12, 2026

Why strings aren't equal even though they look identical — 5 invisible causes

Why identical-looking strings aren't equal in JavaScript: hidden spaces, \r, non-breaking spaces, BOM, two codes for one letter, lookalike letters — and fixes.

6 min read
BasicsOct 12, 2026

What is binary search — and how to find the commit that broke everything in 10 steps

What binary search is, in plain words: how it finds one item among a million in 20 steps, why order matters, and how git bisect hunts down the buggy commit.

6 min read
GuidesOct 10, 2026

Why your regex in JavaScript works every other time — and what the g flag has to do with it

Why a JavaScript regex works every other time: test() with the g flag remembers lastIndex. Three common causes, how to confirm each, and how to fix it.

6 min read
GuidesOct 10, 2026

How to check if an object is empty in JavaScript — and why Date and Map look empty

How to check if an object is empty in JavaScript: why if (obj) fails, where Object.keys and JSON.stringify lie, and a ready 4-line function that gets it right.

6 min read
GuidesOct 9, 2026

Why big numbers get rounded in JavaScript — and your API ID ends in zeros

Why big numbers get rounded in JavaScript: an ID from your API arrives ending in zeros. Three causes — JSON.parse, Number() and Excel — and how to fix each.

6 min read
GuidesOct 8, 2026

Why your object keys are out of order — and the list sorts itself

Why object key order changes in JavaScript: integer keys jump to the front, databases and JSON don't keep order. Three causes, how to check and how to fix.

5 min read
GuidesOct 7, 2026

Why console.log shows the wrong value — and how the console "lies" to you

Why console.log shows the wrong value: one thing collapsed, another expanded, an empty array full of data, or [Object] instead of nested fields. Three causes.

5 min read
GuidesSep 30, 2026

Maximum call stack size exceeded — why it happens and how to fix it, even without recursion

The Maximum call stack size exceeded error in JavaScript: three real causes, including Math.max on a big array and a setter that calls itself. How to find and fix each one.

6 min read
GuidesSep 29, 2026

Why my timer speeds up — and why it sometimes freezes at 1 instead

Timer ticking faster and faster, refusing to stop, or stuck at 1? Three real causes of a broken setInterval — how to check each one and how to fix it.

6 min read
GuidesSep 28, 2026

Why my event fires twice — three causes and how to fix each one

A click or key press fires twice, or even more? Three real causes of an event firing twice in JavaScript and React — and how to check and fix each one.

6 min read
GuidesSep 26, 2026

"is not a function" error — why it happens and how to fix it

TypeError: x is not a function — what this JavaScript error means and how to fix it. The three common causes: wrong data type, a made-up method, the import.

5 min read
GuidesSep 25, 2026

Why this is undefined in JavaScript — 3 causes and how to fix them

Why this is undefined in JavaScript and where “Cannot read properties of undefined” in a method comes from: a callback, a function inside a method, an arrow.

6 min read
GuidesSep 24, 2026

Why you get NaN in JavaScript — 3 causes and how to find where it came from

Why JavaScript gives you NaN instead of a number: an empty field, text instead of a number, zero divided by zero. How to find the source of NaN and fix it fast.

6 min read
GuidesSep 23, 2026

Why my loop never stops — and the tab freezes solid

An infinite loop: the tab froze, the fan is screaming, the server gets thousands of requests. Three real causes — from React useEffect to while — how to check and fix.

6 min read
GuidesSep 22, 2026

Why my array is empty — and why there's no error

The array is empty, the screen shows nothing, the console is silent. Three real causes of an empty array — data not there yet, a filter that cut everything, a list nested deeper — and how to check each.

5 min read
GuidesSep 21, 2026

Why your AI agent edits the wrong file — three causes and how to check each

The agent says «done» and nothing changed in your app. Three real causes: wrong folder, a twin file with the same name, and editing generated code.

6 min read
AgentsSep 19, 2026

Why my MCP server won't connect — 4 causes, most common first

You added the MCP server but there are no tools, or it sits on 'Failed to connect'. Here are four causes ordered by frequency — and how to check each in a minute.

6 min read
GuidesSep 18, 2026

Why the iPhone zooms in when you tap an input field

An input field zooms the page on iPhone because its font size is under 16px. How to check it, how to fix it, and why the maximum-scale advice only hurts.

5 min read
GuidesSep 17, 2026

Why my page scrolls sideways on mobile — and how to find the culprit in a minute

Horizontal scrolling on mobile: three real causes and a snippet that names the guilty element instantly. Plus why overflow-x hidden is a bad fix.

6 min read
GuidesSep 14, 2026

Why position: sticky isn't working — 3 causes and how to find yours in a minute

Your position: sticky header scrolls away with the page? Three common causes — a missing top, overflow on a parent, no room to move — and how to check each.

6 min read
GuidesSep 13, 2026

Why does my page show 404 after refresh — when links inside the site work fine

A React or Vite site loads, clicking around works, but F5 on an inner page gives 404. Three causes and ready-made settings for Netlify, Vercel and nginx.

6 min read
GuidesSep 12, 2026

Why my form clears everything I typed — 3 causes and the fix

The form empties itself after an error and people retype it all. Three causes: a blank server re-render, a remounted component, and a Back that never restored.

5 min read
GuidesSep 11, 2026

Why my tooltip doesn't show on mobile — three causes and how to fix each

On desktop the tooltip appears on hover; on a phone it's missing or stuck. The three real causes — hover, the title attribute, clipping — and the fixes.

5 min read
GuidesSep 9, 2026

Why my page jumps while loading — 3 causes and how to check

Content shoves itself down and you miss the button. Why a page jumps while loading: three real causes, how to find the culprit and how to fix each one.

5 min read
GuidesSep 7, 2026

Why WebGPU isn't available in my browser — three causes and the fix

navigator.gpu missing, or the adapter comes back empty? Here's why WebGPU isn't available in your browser: HTTPS, the OS-browser pairing, and adapter refusal.

5 min read
GuidesSep 6, 2026

Why CSP blocks my own scripts — three causes and how to fix each

"Refused to execute inline script" and the site is dead. Why CSP blocks your own scripts: the three common causes, how to check each one, and what to change.

6 min read
GuidesSep 5, 2026

Why my modal breaks keyboard focus — and how one tag fixes it

The modal is open but Tab wanders onto the page behind it. Three reasons keyboard focus breaks in a modal window, and how to check for each one.

5 min read
GuidesSep 4, 2026

Why your storage bill keeps growing — 3 causes, and the first isn't file size

Three gigabytes of files, a bill that looks like three hundred. Why your storage bill grows: egress traffic, the operations counter, and files you can't see.

5 min read
GuidesSep 3, 2026

Why your rich snippet isn't showing — 3 causes and how to check each

The markup is there, the validator is green, and search still shows a plain blue link. Here are the three real causes, how to test for each, and what to do.

5 min read
GuidesSep 2, 2026

Why My Site Is Fast for Me but Slow for Users — Three Causes and How to Check Each

It flies for you, people complain, and Google shows red. Three real reasons the numbers disagree — cache, hardware and a different page — with fixes.

6 min read
GuidesAug 31, 2026

Why AI Makes Every Interface Look the Same — 3 Causes and How to Fix Them

Why AI-built sites all look alike: the model returns the most probable, not a style. Three causes and concrete ways to give your interface its own face back.

6 min read
GuidesAug 29, 2026

Why my payment is declined — three causes, and why the bank won't tell you which

A payment was declined and the reason is vague. The three real causes of card declines, how to tell them apart in a minute, and what's actually fixable.

5 min read
GuidesAug 28, 2026

Why I keep getting logged out — three causes and how to fix them

The app kicks you out every day, or when you close the tab. Three common causes — an expired token, storage cleanup and theft protection — and how to fix each.

6 min read
GuidesAug 27, 2026

Why my app drains the battery — 3 causes and how to check each

Your app drains the phone battery: the three real causes — unreleased wake locks, alarms instead of a scheduler, and greedy radio — and how to find each one.

6 min read
GuidesAug 26, 2026

App crashes on startup — 3 causes and how to check each one

Your app quits right after launch but works fine in the debugger. Three causes: the watchdog timer, the release build, and data left by the old version.

6 min read
GuidesAug 23, 2026

Why my database backup won't restore — three causes and the fix

Your database dump won't restore: a pg_dump version error, the wrong file format, or ownership permissions. Three causes and the exact commands that fix them.

6 min read
GuidesAug 21, 2026

Why your deep link doesn't open the app — three causes and how to check each one

The link silently opens in the browser instead of the app. Three real causes: the verification file, a cached failed check, and opening it from a messenger.

5 min read
GuidesAug 20, 2026

Why your images look blurry — 3 causes, and the first one hides in the screen

Why images look blurry on your site and especially on phones: three causes — screen density, raster instead of SVG, over-compression — and the fix for each.

6 min read
GuidesAug 19, 2026

502 Bad Gateway — what it means and how to fix it: 3 causes

A 502 Bad Gateway error means the proxy got no valid answer from your app. Here are the 3 common causes and how to check each one, step by step.

6 min read
BasicsAug 18, 2026

What is observability — and why monitoring never answers the question «why»

Monitoring tells you the app went down. Observability tells you why one user waited 40 seconds. The three signals, and the one thing to add first.

5 min read
BasicsAug 17, 2026

What is a breakpoint — and why it has nothing to do with screen width

A breakpoint pauses your code on a chosen line and shows every variable at that exact moment. Why it beats console.log and how to set your first one.

5 min read
GuidesAug 16, 2026

Why my scheduled job runs twice — three causes and the fixes

Your cron job fires twice? Cron is almost never the culprit: two schedulers alive, overlapping ticks, or a retry finishing the damage. Causes and fixes inside.

5 min read
GuidesAug 15, 2026

Why my font doesn't load — 3 causes and how to check each

Font not loading and your site falls back to a system one? Three real causes: the url() path, a silent CORS block, and a missing subset — with fixes.

5 min read
AgentsAug 14, 2026

Why my RAG returns wrong answers — 3 causes and how to check each

Your bot answers off-target or says «not found» about your own docs. Here's why RAG returns wrong answers, how to find the broken stage, and what to fix.

6 min read
AgentsAug 12, 2026

Why my Telegram bot doesn't reply — the three causes that catch everyone

Telegram bot not replying while the logs look clean? The three real causes — the 409 conflict, group privacy mode, and a silently dead process.

5 min read
GuidesAug 11, 2026

Why your dates are off by a day — and how to fix it

Dates showing yesterday or tomorrow? Three real causes: a date-only string parsed as UTC, a server in another zone, and toISOString cutting the wrong day.

5 min read
GuidesAug 10, 2026

Why my domain shows the wrong site — and why it loads fine for everyone else

You connected the domain and get the old site or a registrar parking page. Here are the three real causes of a domain showing the wrong site, and how to fix each.

6 min read
GuidesAug 9, 2026

Why state doesn't update in React — and what reference comparison has to do with it

You called setState and the screen didn't re-render. Three real causes: mutating an array, state as a snapshot, and shallow copies — plus how to fix each.

5 min read
GuidesAug 8, 2026

Why .gitignore isn't working — and why .env still ended up on GitHub

Why .gitignore isn't working: usually the file is already tracked, so the rule has no effect. Three real causes, a one-command check, and the fixes.

6 min read
GuidesAug 8, 2026

How to test an API with curl — 6 commands to find out whose bug it is

How to test an API with curl: six commands that tell you in half a minute whether your code or the server is at fault. Plus the browser's Copy as cURL trick.

7 min read
Prompt engineeringAug 6, 2026

Why AI answers in English when you write in another language — 3 causes

A model answers in the language of its instructions, not your question. Here are the three reasons AI drifts into English and the lines to add so it stays put.

5 min read
GuidesAug 4, 2026

Why my docker build fails — 3 causes and how to check each one

Docker build failing or taking forever? Here are the three common causes — bloated context, wrong architecture and not enough memory — and how to fix each.

6 min read
Vibe codingAug 3, 2026

Why the AI rewrote code I never asked it to touch

You asked it to fix one function and the diff is two hundred lines. Three reasons an AI agent rewrites extra code, and how to set boundaries that hold.

6 min read
GuidesJul 31, 2026

Why my file upload fails — error 413 and the three causes that catch everyone

A 4 MB file, a 4.5 MB limit — and still a 413. Why your file upload fails: request body limits, base64 inflation, and a form that never sent anything at all.

6 min read
GuidesJul 30, 2026

Why your database query is slow — and why it was fast on your own data

Why a database query is slow: the three real causes, how to check each in a minute, and how to fix it. Starting with the most common — a missing index.

6 min read
BasicsJul 30, 2026

What is a memory leak — and why your app dies on day three

What a memory leak is in plain words: a bug tests can't catch because the code isn't wrong. The three places it almost always leaks, and how to spot it.

6 min read
AgentsJul 29, 2026

Why your vector search returns garbage — 3 causes and the fixes

Semantic search keeps handing back irrelevant chunks and the model answers confidently wrong. Three real causes — threshold, chunk size, embeddings — and how to fix them.

6 min read
BasicsJul 29, 2026

What is a timeout — and why your request breaks somewhere else than you think

A timeout is a limit on waiting for a response. One request has several, and the shortest one wins. How to find the culprit by the second it dies and by the error.

5 min read
AgentsJul 28, 2026

Why your AI agent loops forever — and how to stop it

The agent repeats the same step and burns tokens. Three real causes behind it — and how to check and fix each one.

6 min read
GuidesJul 27, 2026

"Not secure" in the browser — why your site says it and how to fix it

The browser says Not secure and the padlock is gone. Three real causes — from a certificate that never issued to one image loaded over http — and how to fix each.

6 min read
GuidesJul 26, 2026

Why my form doesn't submit — 3 causes and how to check each one

Form not submitting: the page blinks, fields clear, no email arrives. Usually the form isn't broken — it submitted into nowhere. Three causes, each checkable in a minute.

6 min read
GuidesJul 25, 2026

Why your app's emails go to spam — and how to fix it

Everyone edits the email text, but the cause is almost always DNS: the recipient's mail server can't verify your domain. Three real causes and their fixes.

6 min read
GuidesJul 23, 2026

Why images aren't loading on my site — 3 causes, starting with letter case

Images not loading on your site: a broken icon instead of a photo. We break down 3 causes — path and case, files missing from deploy, hotlinks — and fix each.

6 min read
GuidesJul 23, 2026

How to read an error message — the three-line method instead of panic

How to read an error message: find the type, the text and your own line in the stack trace. A three-line method that untangles the red wall in minutes.

6 min read
GuidesJul 22, 2026

Why your cron job isn't running — and how to make cron confess

Cron is silent on success and on failure alike. The three real reasons a cron job doesn't run: a bare environment, relative paths, a sleeping machine.

5 min read
GuidesJul 21, 2026

Why your bot stops when you close your laptop — and how to make it immortal

You close the laptop and the Telegram bot goes silent. Not a bug: a bot is a process on your machine, not a cloud. Three causes and three real fixes.

5 min read
BasicsJul 21, 2026

What are logs — and why your console.log prints somewhere else

Logs are your program's diary: what happened and when. Where to read them on the frontend, backend and hosting — and how to feed them to AI properly.

5 min read
GuidesJul 19, 2026

Why my webhook isn't firing — the three causes that catch everyone

Why your webhook isn't firing: it almost always fired. Three causes by frequency — localhost unreachable from outside, no 200 reply, a signature mismatch — and the fix.

6 min read
GuidesJul 18, 2026

Why is my AI bill so high — where your tokens actually leak

Your API bill jumped even though requests look the same. Here are the 3 main causes of a high AI bill — long context, an expensive model, loops — and how to fix each.

6 min read
GuidesJul 17, 2026

Why my JSON parse fails (Unexpected token) — 3 causes, none of them in the JSON

SyntaxError: Unexpected token — it's almost always just not JSON. Why JSON parsing fails: 3 real causes (the model wrapped it in ```json, the server sent HTML) and the fixes.

6 min read
GuidesJul 16, 2026

Why my JSON is invalid (Unexpected token) — 3 causes that catch almost everyone

The 'Unexpected token in JSON' error shows up nowhere near where you'd expect. Here are the 3 common reasons your JSON is invalid — and how to fix each fast.

5 min read
GuidesJul 15, 2026

Port already in use — why it happens and how to fix it fast

The «port already in use» error almost always means an old process didn't close and is still holding the door. How to find what took the port and free it — step by step.

5 min read
GuidesJul 14, 2026

Why npm install fails — 4 causes and how to fix each

npm install fails mostly for 4 reasons: the Node version, a broken cache, a dependency conflict, or the network. Here's each one — how to check and how to fix, no full reinstall.

6 min read
GuidesJul 13, 2026

Why Git shows a merge conflict — and how to clear it

CONFLICT in your terminal isn't a breakage — it's a question from Git. Here's why a merge conflict happens, and how to resolve it step by step without breaking your code.

6 min read
GuidesJul 12, 2026

Why my app works locally but breaks in production — 3 causes and the fix

'Works on my machine' — but production shows a blank screen or a 500. Same code, different environment. Here are the 3 main causes and how to check and fix each.

6 min read
GuidesJul 11, 2026

Why git push is rejected — 3 causes and how to fix each

"! [rejected] fetch first" isn't a break — it's git protecting someone's work. The 3 real causes of a rejected git push and how to fix each.

5 min read
GuidesJul 10, 2026

Why your AI responses are slow — 3 causes and how to speed them up

AI taking forever to answer? Usually it's not the internet — it's the model, streaming, or a bloated context. Here are 3 causes of slow AI responses and a fix for each.

5 min read
GuidesJul 8, 2026

Why fetch returns undefined even though the data is there — 3 causes

'The data arrives, I see it in the Network tab, but the variable is undefined.' Here are the 3 causes of fetch returning undefined — how to check each and fix it.

6 min read
GuidesJul 7, 2026

Why my page is blank (white screen) — 3 causes and the first thing to open

You open the site — a white screen, nothing there. Why the page is blank: 3 common causes (console error, wrong path, empty root) and how to fix each.

6 min read
GuidesJul 6, 2026

Why AI cuts off its answer mid-sentence — 3 causes and the fix

AI stops mid-sentence? It's almost never a bug — it's a limit. Here are the 3 real causes of a cut-off, from max_tokens to a full context window, each with its fix.

5 min read
GuidesJul 1, 2026

Why your CSS isn't working — 3 causes to start with (a hard refresh fixes half)

Why your CSS isn't working: you change a style but the page looks the same. The 3 common causes — cache, specificity, linking — and how to fix each.

6 min read
Prompt engineeringJun 20, 2026

Why my prompt doesn't work — 3 causes and how to fix each one

A prompt fails almost always for three reasons: too vague, overloaded, or the important bit buried in the middle. We go symptom → cause → fix.

5 min read
GuidesJun 20, 2026

How to debug with AI — 5 steps so it actually helps instead of guessing

'It doesn't work, fix it' is the worst way to ask AI to debug. Five steps: give the exact error, the context, and test one change at a time.

6 min read
Prompt engineeringJun 19, 2026

Why the model ignores my instructions — 3 reasons and how to fix it

You ask for one thing and the model acts like it never read it. Usually it's not the model: your instruction drowned in the chat, contradicts itself, or hides in the middle.

6 min read