How do debug tool bars for web applications work?

A session at PyCon Australia 2014

Sunday 3rd August, 2014

1:40pm to 2:10pm (EST)

When your production web application breaks, working out what went wrong can be hard. Information from log messages and details of any Python exceptions which occurred, along with other application performance data can help to identify the issue, but not always. Often you will need to fall back to a development or test environment and hope you can replicate the problem and then debug the issue from there.

The purpose of this talk is to dive in and look at one class of tools that can be used in helping debug web applications. Specifically, it will look at web application tools such as the Django debug tool bar.

Rather than simply look at how you might use such a tool though, this talk will look at how these debug tool bars are actually implemented, how they hook into your web application, how they capture the information that they do, as well as how they can be extended to add new functionality.

The limitations on these tools as far as performance overhead, security of data etc, which nearly aways lead to them only being recommended for development environments, will also be discussed.

At the same time though, this notion that they are only suitable for development environments will also be challenged by looking at how a tool such as the New Relic Python agent, which implements application performance monitoring, overcomes such limitations to provide a production grade solution.

Are there lessons to be learnt from how the New Relic Python agent works which could drive improvements to existing web application debug tool bars? Could the New Relic Python agent itself be used as a base for a new generation of debug tool bars which combine an ability to debug a web application, even in a production environment, with the ability to monitor the performance of the web application over time?

About the speaker

This person is speaking at this event.
Graham Dumpleton

C and Python developer. Interested in Apache, WSGI, Python web hosting, Python web frameworks, Docker and Platform as a Service (PaaS). bio from Twitter

Next session in Breakout 1

2:20pm Sounds good! by Sebastian Beswick

1 attendee

  • Graham Dumpleton

Coverage of this session

Sign in to add slides, notes or videos to this session

Sign in to track this session

Tell your friends!


Time 1:40pm2:10pm EST

Date Sun 3rd August 2014

Short URL


View the schedule


See something wrong?

Report an issue with this session