{"meta":{"title":"Debug errors","intro":"Discover ways that you can use GitHub Copilot to debug errors during development.","product":"GitHub Copilot","breadcrumbs":[{"href":"/en/copilot","title":"GitHub Copilot"},{"href":"/en/copilot/tutorials","title":"Tutorials"},{"href":"/en/copilot/tutorials/copilot-cookbook","title":"GitHub Copilot Cookbook"},{"href":"/en/copilot/tutorials/copilot-cookbook/debug-errors","title":"Debug errors"}],"documentType":"subcategory"},"body":"# Debug errors\n\nDiscover ways that you can use GitHub Copilot to debug errors during development.\n\n## Links\n\n* [Debugging invalid JSON](/en/copilot/tutorials/copilot-cookbook/debug-errors/debug-invalid-json)\n\n  Copilot Chat can identify and resolve syntax errors or structural issues in JSON data.\n\n* [Handling API rate limits](/en/copilot/tutorials/copilot-cookbook/debug-errors/handle-api-rate-limits)\n\n  Copilot Chat can help handle API rate limits by suggesting code that detects them and implements retry logic.\n\n* [Diagnosing CI test failures](/en/copilot/tutorials/copilot-cookbook/debug-errors/diagnose-ci-test-failures)\n\n  Use Copilot CLI to pull CI logs, correlate failures to local code, and fix issues without leaving the terminal."}