PHPDeveloper.orghttp://www.phpdeveloper.org
Up-to-the Minute PHP News, views and communityen-usTue, 31 Mar 2015 15:49:54 -050030http://www.phpdeveloper.org/news/20543http://www.phpdeveloper.org/news/20543
On the JetBrains site there's a recent post showing you how to use just-in-time debugging and breakpoints in their PHPStorm IDE combined with the popular PHP debugging tool Xdebug.

In every project comes a moment where code stabilizes and we don't want to keep the debugger attached to our code all the time. Or maybe we just want to run our code and only attach the debugger when an error occurs or an exception is thrown. Meet Xdebug's just-in-time (jit) mode and PHP Exception Breakpoints in PhpStorm!

This feature makes use of the "jit" setting for the "remote_mode" setting that Xdebug offers to only send debugging information back to the remote debugger with an error occurs. They show you how to set up PHPStorm for these debugger connections and some example screenshots of it in action. The breakpoints feature compliments this functionality by allowing you to set breakpoints on which kind of errors you want to see information about (ex. warning, notice or deprecated issues).

Link: http://blog.jetbrains.com/phpstorm/2013/12/just-in-time-debugging-and-php-exception-breakpoints-with-phpstorm-and-xdebug/]]>Thu, 19 Dec 2013 09:30:59 -0600http://www.phpdeveloper.org/news/5320http://www.phpdeveloper.org/news/5320
Derick Rethans has posted a shootout of a few of the debugging protocols out there, really a comparison between the debugger that Zend is using in its Eclipse PHP IDE and the DBGp package.

He talks about some of the controversy that's surrounded Zend's choice and methods for their debugger and how it compares on various levels to DBGp (the debugger used in Komodo and various other places).