debugging
Installation
SKILL.md
Debugging Best Practices
Systematic Approach
- Reproduce the issue consistently
- Isolate the problem (binary search)
- Form a hypothesis
- Test the hypothesis
- Fix and verify the fix doesn't break anything
JavaScript/Node.js
- Use
debuggerstatement + Chrome DevTools - Use
node --inspectfor Node.js debugging - Use
console.trace()for call stacks - Use
console.table()for arrays/objects - Check network tab for API issues