zend_extension = /usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
xdebug.remote_enable=1
xdebug.remote_port="9000"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp/xdebug_profiler.txt"
2. setting intellij IDEA
- make sure right to button [Start listening for PHP Debug connection]
- intellij IDEA > Preferences > Languages & Frameworks > PHP > Debug
- Click [Use debugger bookmarklets to initiate debugging from you favorite browser]
- reference : https://www.youtube.com/watch?v=hui9GKJGb8I
- php -S 127.0.0.1:8000
3. Browser 127.0.0.1:8000
4. Click bookmark [Start debugger]