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
use \Whoops\Handler\PrettyPageHandler;
$whoops = new \Whoops\Run;
$handler = new PrettyPageHandler;
$handler->setEditor('phpstorm');
$whoops->pushHandler($handler);
$whoops->register();
Ideally, we'd need to use the callback function in setEditor to change the links it would generate from: /vagrant/content/plugins/recipes/blocks/enqueue.php to /content/plugins/recipes/blocks/enqueue.php with a str_replace.
The text was updated successfully, but these errors were encountered:
Whoops provides the ability to open files in some editors from the browser: https://github.com/filp/whoops/blob/d1f91d76dbcf379f2a4bd303080299e57135bea4/docs/Open%20Files%20In%20An%20Editor.md we should think about supporting this with something like:
Ideally, we'd need to use the callback function in
setEditor
to change the links it would generate from:/vagrant/content/plugins/recipes/blocks/enqueue.php
to/content/plugins/recipes/blocks/enqueue.php
with astr_replace
.The text was updated successfully, but these errors were encountered: