I am trying to setup xdebug in PHPStorm IDE and I followed the steps mentioned in one document
I followed this document :"http://www.mysolutions.it/phpstorm-server-xdebug-configuration/".
But I am getting one error "Port 9000 is busy " and also if i run debug ,it is quitting.I will share my config settings
The steps I have done
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 PHP storm
File->settings->PHPservers
Host : Ip for the virtual machine(Ip added in the host file)
Port:80
Debugger:Xdebugger
I checked the checkbox (Use PathMappings)
Under that Project files (Absolute Path on the server : /var/www/myproj
)
File->settings->Deployment
Connection:
Type : FTP FTP Host :my virtual machine ip port :80 Root path:/var/www
Mappings:
Local Path: /Users/m1019238/dev/myproject/myproj
Web Path on Server : /var/www/myproj
I will share anything if i missed any settings that i have done other than this. Also very sorry for my english.