


I tried to see file /var/log/xdebug.log that I registered to be the log file of Xdebug, but this file is empty.ĭid I forget something ? I have no idea what to do its been 8 hours I'm on it I have seen all post related to it on StackOverflow but nothing worked for me (I can't even manage to have something in /var/log/xdebug.log so I could see deeper what's going on). Click this icon to edit the selected task. Click this icon to remove the selected task from the list. Run Remote External Tool: adds a remote SSH external tool. I verified, the cookie is correctly sent as http headers has XDEBUG_SESSION=PHPSTORMĭespite all of this, I cant achieve to have any incoming session on PhpStorm. Upload files to Remote Host: select this option to have the application files automatically uploaded to the server according to the default server access configuration. I tap the button "debug" in the Chrome extension, it becomes green. The mapping between this file that I open in Chrome and the local files is correct.ħ.
#XDEBUG PHPSTORM REMOTE SERVER DOWNLOAD#
In Chrome browser, I download the extension Xdebug, and I open my script, where I added the breakpoint. In PhpStorm, I set a breakpoint on a file, and I start listening to incoming debug sessions, I verify this by doing a netstat query that returns that my Mac has its process PhpStorm listening to port 9000Ħ. When I create a script with echo phpinfo() in it, it shows that Xdebug has been installed "correctly" (I guess) : it shows an Xdebug section with all the variables.ĥ.
In the CLI Interpreters dialog that opens, click the Open in Editor link next to the Configuration file:From the PHP executable list, choose the relevant PHP interpreter and click next to it. Restart Apache server /etc/init.d/apache2 restartĤ. Disable Xdebug for command-line scripts: In the Settings dialog ( Ctrl+Alt+S ), go to PHP. Go to /etc/php/7.2/apache2/php.ini and add : Here is what I did on my remote Ubuntu server :Ģ. I want to use Xdebug on my local machine, using PhpStorm, to debug the PHP files located in my remote server. I have a remote machine where runs an Apache Server.
