PhpStorm & XDEBUG

  1. Environment:
    • Phpstorm 10
    • php-cgi: sudo apt-get install php-cgi
  2. Setup:
    • File/Settings/Languages & Frameworks/PHP

    Screenshot from 2016-02-25 14:40:22

    Screenshot from 2016-02-25 14:41:34

    Screenshot from 2016-02-25 14:42:27

    [xdebug]
    zend_extension=”/usr/lib/php5/20121212/xdebug.so”
    xdebug.remote_enable=true
    xdebug.remote_port=9000
    xdebug.profiler_enable=1
    xdebug.remote_host=localhost
    xdebug.profiler_output_dir=”/home/quachson/tmp/xdebug”
    xdebug.max_nesting_level=1000

    Screenshot from 2016-02-25 17:05:03

    Screenshot from 2016-02-25 14:44:43

    Screenshot from 2016-02-25 14:44:43

     

  3. Install xdebug for chrome:

Screenshot from 2016-02-25 17:02:01

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s