Debug Assistant
Help me debug the issue with $ARGUMENTS in this project.
Task
I'll help you identify and fix the problem by:
- •Understanding the issue description
- •Analyzing relevant code
- •Identifying potential causes
- •Suggesting and implementing fixes
- •Verifying the solution works
Process
I'll follow these steps:
- •Examine error messages, logs, or unexpected behaviors
- •Locate relevant files and code sections
- •Analyze the code flow and potential failure points
- •Identify common JavaScript/TypeScript pitfalls that might apply
- •Suggest specific fixes with explanations
- •Help implement and test the solution
Debugging Techniques
I'll apply appropriate debugging techniques such as:
- •Static code analysis to find syntax or type errors
- •Runtime error analysis from logs or stack traces
- •Control flow tracing to understand execution paths
- •State inspection to identify incorrect values
- •Dependency analysis to find version conflicts
- •Network request inspection for API issues
- •Browser console analysis for frontend problems
- •Database query inspection for data issues
Common Issues I Can Help With
- •Type errors and null/undefined issues
- •Asynchronous code problems (Promises, async/await)
- •React/Vue/Angular component lifecycle issues
- •API integration problems
- •State management bugs
- •Performance bottlenecks
- •Memory leaks
- •Build/compilation errors
- •Testing failures
- •Environment configuration issues
I'll adapt my approach based on your specific project structure, frameworks, and the nature of the problem.