/
[debugger] Add "Toggle DB Queries" link in debugger [5.3.0-B1]

[debugger] Add "Toggle DB Queries" link in debugger [5.3.0-B1]

Debugger is a tool, that allows to collects following information for each visited page:

  • all errors/warnings/notices
  • database queries
  • profiling results
  • much more

However when it comes to finding an error in debugger report it's a pretty hard to do, because of lots of database queries.

I propose to add "Toggle DB Queries" link in debugger (on top), which will add/remove "db-queries-hidden" class from outer debugger div.

But to make ti work we need to:

  1. mark all database-query rows with special "db-query" css class
  2. add following CSS to debugger.css: .db-queries-hidden .db-query { display: none; }

Related Tasks

INP-1289 - Getting issue details... STATUS