question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include more information in `DebugMiddleware`.

See original GitHub issue

Right now we just display a raw format_trackback().

It’d make sense to have a proper page with lines of context around each file in the stack, and local variables at each point. (As with Django or Werkzeug’s debugger pages)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
supriyo-biswascommented, Nov 2, 2018

What about integrating the werkzeug debugger itself? This feature was there previously in APIStar.

1reaction
tomchristiecommented, Nov 2, 2018

I’d be happy to take ideas from the Django and Werkzeug implementations. Werkzeug’s debugger is WSGI-based, so a clean port of it would need some adapting.

I’d suggest approaching this iteratively, let’s start with a bit more info and some basic styling, then work on things from there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug the problems in Middleware - SAP Community
Hello experts, Can anybody please tell me how to learn debug the error in middleware..? is there any material available..?? if so how...
Read more >
Debugging Express
Express uses the debug module internally to log information about route matches, middleware functions that are in use, application mode, and the flow...
Read more >
debugging - How do I make a custom middleware function get ...
The reason why I'm trying to create this property is due to this Koa documentation (see link below) which states that we can...
Read more >
Debug a bot with inspection middleware - Microsoft Learn
Learn how to use inspection middleware to debug bots. See how to use the Bot Framework Emulator to inspect state data and message...
Read more >
Plack::Middleware::Debug - MetaCPAN
DESCRIPTION. The debug middleware offers a configurable set of panels that displays information about the current request and response.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found