You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to save debug info if response has Location header or it's status code is between 300 and 400. Debug bar can handle this via $debugBar->stackData() call.
Doing this way all DebugBar data will be saved in case of redirect (Post-Redirect-Get pattern, for example). But there is no direct access to DebugBar instance from middleware, only JavascriptRenderer is injected in the constructor.
Activity
snapshotpl commentedon May 2, 2019
@spotman I don't know what exactly I can do with this
spotman commentedon May 6, 2019
$debugbar->stackData()if it is a redirectDoing this way all DebugBar data will be saved in case of redirect (Post-Redirect-Get pattern, for example). But there is no direct access to DebugBar instance from middleware, only JavascriptRenderer is injected in the constructor.
spotman commentedon Feb 10, 2020
@snapshotpl is there any progress on this issue? Will you accept a PR with a tiny non-BC-break fix?