Index: core/kernel/utility/debugger.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- core/kernel/utility/debugger.php (revision 15730)
+++ core/kernel/utility/debugger.php (revision )
@@ -450,6 +450,7 @@
'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',
'DBG_SHORTCUT' => 'F12', // Defines debugger activation shortcut (any symbols or Ctrl/Alt/Shift are allowed, e.g. Ctrl+Alt+F12)
);
@@ -941,7 +942,10 @@
$title = str_replace('/', '\\', $this->getLocalFile($file));
}
- return '' . $title . '';
+ $url = str_replace('%F', $this->getLocalFile($file), DBG_EDITOR_URL);
+ $url = str_replace('%L', $line_number, $url);
+
+ return '' . $title . '';
}
/**
\ No newline at end of file