Debugging FastAPI routes with pdb

Get a breakpoint on exception without guessing where things went wrong.