Index: branches/5.2.x/core/kernel/utility/debugger.php =================================================================== diff -u -r16816 -r16817 --- branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 16816) +++ branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 16817) @@ -1,6 +1,6 @@ 1, // highlight output same as php code using "highlight_string" function 'DBG_WINDOW_WIDTH' => 700, // set width of debugger window (in pixels) for better viewing large amount of debug data 'DBG_USE_SHUTDOWN_FUNC' => DBG_ZEND_PRESENT ? 0 : 1, // use shutdown function to include debugger code into output 'DBG_HANDLE_ERRORS' => DBG_ZEND_PRESENT ? 0 : 1, // handle all allowed by php (see php manual) errors instead of default handler 'DBG_DOMVIEWER' => '/temp/domviewer.html', // path to DOMViewer on website - 'DOC_ROOT' => str_replace('\\', '/', realpath($_SERVER['DOCUMENT_ROOT']) ), // windows hack - 'DBG_LOCAL_BASE_PATH' => 'w:', // replace DOC_ROOT in filenames (in errors) using this path - 'DBG_EDITOR_URL' => 'file://%F:%L', + 'DOC_ROOT' => $document_root, + 'DBG_LOCAL_BASE_PATH' => $document_root, // replace DOC_ROOT in filenames (in errors) using this path + 'DBG_EDITOR_URL' => 'phpstorm://open?file=%F&line=%L', 'DBG_SHORTCUT' => 'F12', // Defines debugger activation shortcut (any symbols or Ctrl/Alt/Shift are allowed, e.g. Ctrl+Alt+F12) );