The Debugging the Code prompt helps you troubleshoot programming errors by providing a structured way to identify and resolve issues in your code. This tool is valuable when you're stuck with code that isn't working as expected and need assistance finding and fixing the underlying problems.
{{code}}
variableThe assistant will analyze your code, identify errors, and provide you with both an explanation of the problems and suggestions for fixing them. The response will also include documentation of the debugging process that you can reference later.
{{code}}
: This is where you should paste your entire code snippet or file that needs debugging. Make sure to include all relevant code (including imports and function definitions) to provide enough context for proper analysis. Include any error messages you're receiving if possible.The response will typically include: