Implemented automatic editor configuration if Xdebug is available.

This commit is contained in:
Tobias Tom
2019-08-05 13:54:18 +01:00
parent dcc38c0a79
commit 31cd201af7
+3
View File
@@ -126,6 +126,9 @@ class PrettyPageHandler extends Handler
$this->editors['xdebug'] = function ($file, $line) {
return str_replace(['%f', '%l'], [$file, $line], ini_get('xdebug.file_link_format'));
};
// If xdebug is available, use it as default editor.
$this->setEditor('xdebug');
}
// Add the default, local resource search path: