![]() ![]() sudo apt-get install php5-xdebug Then, configure it: sudo vim /etc/php5/mods-available/xdebug. However, it does not cover how to debug an application but. Xdebug v3: xdebug.start_with_request = yesĪdd Xdebug session start parameter to the actual URL ( XDEBUG_SESSION_START=/api/v1/welcome) then such cookie will be sent to the dev domain only and not to the production one. Step1: Install Xdebug on your Vagrant virtual machine That may seem obvious, but you need to have Xdebug installed on your virtual machine to benefit from its services. This article tackles the secrets of a simple Xdebug and PhpStorm configuration that just works.These are the steps I took to install/enable Xdebug on a remote LAMP stack and debug/profile hosted code using PhpStorm and a Chrome extension. Configure your Xdebug (by editing php.ini) to attempt to debug every PHP script. PHP Debugging with PhpStorm and Xdebug Eric FebruHere’s how to go about debugging, stepping through, and profiling remote code like a breeze.
0 Comments
Leave a Reply. |