Debugging
Bug / Debugging
Finding and fixing problems (bugs) that make your program act strangely.
💡 The name comes from early computers that broke down because a real bug (a moth) got stuck inside.
🤖 Say this to your AI
Nothing happens when I click the login button. Please debug it. Explain the likely cause first, then add some logs (console.log) to find exactly where it gets stuck.
The key word is ‘Bug / Debugging’. Including it helps AI understand you much more precisely.
📌 Good to know
Instead of telling the AI 'it doesn't work', share (1) what you did, (2) what you expected, and (3) what actually happened, plus the error message. It'll fix things much faster.
When to use it
- When you click a button and nothing happens
- When the page shows up completely blank
Also called: bug, fix a bug, it's not working, broken, troubleshooting, debug, fix, something's wrong