Debug PHP like Pro: Intellij Idea + VirtualBox + XDebug

VirtualBox + XDebug overview

For a long time I used to use built-in PHP debugging function like var_dump, debug_backtrace, spl_object_hash etc. That tools are very useful but there is one tool combining all of them. I’m talking about XDebug PHP module. With XDebug you can stop code execution in any place you need and get all information about objects, variables and call stack in one window.

breakpoint overview

Continue reading “Debug PHP like Pro: Intellij Idea + VirtualBox + XDebug”