Chapter 6. Django Debugging Overview
The best test suite in the world won't save you from having to debug problems. Tests simply report whether code is working correctly. When there is a problem in the code, found either via a failing test or some other means, debugging is necessary to figure out what exactly has gone wrong. A good test suite, run regularly, can certainly help in debugging. The specifics of the error message from the failure, the aggregate information provided by what tests pass versus what tests fail, in addition to the knowledge of what code change introduced the problem, can all provide important clues for debugging. Sometimes those clues are enough to figure out what has gone wrong and how to fix it, but often it is necessary to perform additional debugging.
This chapter introduces Django's debugging support. It provides an overview of topics that will be covered in greater depth in subsequent chapters. Specifically, this chapter will:
List the Django settings that control...