yiisoft / yii-debug-viewer

Debugger frontend
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

Assets are shown in routes #20

Closed xepozz closed 2 years ago

xepozz commented 2 years ago

image

Something bad was happened. Assets are shown is routes in debugger.

rustamwin commented 2 years ago

These are static routes for ability to connect the toolbar from a standalone debug viewer app.

xepozz commented 2 years ago

Standalone debugger has it own assets. Why have it use another assets?

rustamwin commented 2 years ago

We have two ways to add a toolbar right now:

  1. Via ToolbarMiddleware. It can be used if the viewer is installed in application.
  2. Like in the screenshot below. It can be used if the viewer is installed as standalone app. image
samdark commented 2 years ago

I think it is a good idea to allow excluding info about debug toolbar own assets/routes/logs/whatever.