This document discusses debugging tools for the Mesa library. It begins with introductions and then covers Mesa environment variables, basic debugging tools like printf and static analyzers, using GDB for debugging, tools like Apitrace and Frameretrace for capturing OpenGL calls, and Piglit for running automated tests on OpenGL implementations. It also provides tips for debugging Steam games with Mesa like determining the process ID and attaching GDB or customizing the launch environment.