Enable Debug Logging
Enable debug logging to see detailed operation information:- Python
- JavaScript/TypeScript
Capture Request IDs
Always capture request IDs for support tickets:- Python
- JavaScript/TypeScript
Inspect Sandbox State
Inspect sandbox state to understand what’s happening:- Python
- JavaScript/TypeScript
Test Code Locally First
Test code locally before executing in sandbox:- Python
- JavaScript/TypeScript
Debug Code Execution
Debug code execution step by step:- Python
- JavaScript/TypeScript
Debugging Checklist
Before Execution
Before Execution
- API key is set and valid
- Template name is correct
- Code syntax is valid
- Dependencies are available
During Execution
During Execution
- Check sandbox status
- Monitor resource usage
- Check execution output
- Capture request IDs
After Execution
After Execution
- Verify results
- Check error messages
- Review logs
- Clean up resources

