Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Run with Tilt, Debug with web-pdb

This directory contains an example of how to wire your app for use with web-pdb. For more information on using remote debuggers with your Tilt setup, check out our guide to Python debuggers.

Note: for best results, use web-pdb >= v1.5.3

To see web-pdb in action:

  1. Call tilt up from this directory
  2. Hit localhost:8000; the request will hang because the app hit a breakpoint. You'll know that the debugger is live and ready for connections when you see the following in the logs:
CRITICAL - Web-PDB: starting web-server on [podname]:5555...
  1. In a new tab in your web browser, navigate to localhost:5555
  2. Congrats, you've accessed the debugger! Poke around and inspect the system state. Type c(ontinue) to resume execution.