Vagrant Remote Debugging – Xdebug 3 & IntelliJ or PHPStorm

Debugging is one of the most efficient ways to investigate an unexpected behaviour. This post details how to setup a debugger for a PHP application running in a vagrant machine via your IDE such as IntelliJ or PHPStorm. We’ll be using Xdebug version 3 in this post. Xdebug version 3 is significantly different from the… Continue reading Vagrant Remote Debugging – Xdebug 3 & IntelliJ or PHPStorm

Debug slow PHP applications using IntelliJ or PHPStorm

It is frustrating when your PHP application is really slow and you do not know which part of your code is taking up too much time. Google considers 2 seconds as the optimal loading time for a fast loading website. Enabling PHP XDebug Profiler PHP’s Xdebug extension can be used to profile your web requests… Continue reading Debug slow PHP applications using IntelliJ or PHPStorm