Skip to content

Instantly share code, notes, and snippets.

@dinhkk
Last active August 4, 2017 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dinhkk/a575e2fe3c15bd96a1c37dfc822a356d to your computer and use it in GitHub Desktop.
Save dinhkk/a575e2fe3c15bd96a1c37dfc822a356d to your computer and use it in GitHub Desktop.
xdebug - phpstorm
1. create web application server
2. create sftp tunner to connect
3. mwnu: Run => Run web server validate to pass all requires
4. Config php CLI Setting => Language / Framework
Settinh for xdebug.ini
xdebug.ini
zend_extension=/usr/lib64/php/modules/xdebug.so
[xdebug]
xdebug.remote_autostart=1 ;
xdebug.remote_host=192.168.222.2 ;the ip of developer machine
xdebug.remote_port=9999 ;port to connect
xdebug.remote_enable=1 ;
xdebug.idekey=PHPSTORM ;
xdebug.extended_info=1 ;
xdebug.remote_connect_back=1 ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment