Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ and xDebug - xdebug.file_link_format

I've searched much time about IntelliJ IDEA 12 and the xdebug.file_link_format configuration value.

I found nothing which works...

  • Using protocols like "idea", "intellij", "txmt", or other protocols doesn't work.
  • I found nothing about a plugin which register the IntelliJ protocol...

Is it possible to use the xdebug file links with IntelliJ IDEA or PhpStorm?

like image 570
PatrickB Avatar asked Dec 26 '22 21:12

PatrickB


1 Answers

Yes and No.

No -- there is no proper built-in support for this. Watch this ticket for details: http://youtrack.jetbrains.com/issue/IDEA-65879

Yes -- you may find some workaround, at very least the aforementioned ticket has recipes for Mac OS (using AppleScript) or via Remote Call etc.


Update: as of PhpStorm 8 you may use:

xdebug.file_link_format = "phpstorm://open?file=%f&line=%l" 
like image 165
LazyOne Avatar answered Jan 04 '23 07:01

LazyOne