I am trying to configure xdebug in the PHPStorm IDE and I followed the steps in one document
I followed this document: " http://www.mysolutions.it/phpstorm-server-xdebug-configuration/ ".
But I get one error: "Port 9000 is busy," and also, if I run debugging, it quits. I will share the configuration settings
Steps taken by me
In my Xdebug.ini
zend_extension="/usr/lib/php5/20090626/xdebug.so" xdebug.default_enable = 1 xdebug.idekey = "vagrant" xdebug.remote_enable = 1 xdebug.remote_autostart = 0 xdebug.remote_port = 9000 xdebug.remote_handler=dbgp xdebug.remote_log="/var/log/xdebug/xdebug.log" xdebug.remote_host="myip"
In a PHP storm
File->settings->PHPservers Host : Ip for the virtual machine(Ip added in the host file) Port:80 Debugger:Xdebugger
I checked (Use PathMappings)
Within these project files (Absolute path on server: /var/www/myproj )
File->settings->Deployment
Connection:
Type: FTP FTP Host: my virtual computer ip-port: 80 Root path: /var/www
Mapping:
Local path: /Users/m1019238/dev/myproject/myproj
Server web path: /var/www/myproj
I will tell you something if I missed any settings that I made other than this. Also very sorry for my english.
source share