I've coded a new project into PhpStorm using CakePHP framework. I've installed Xdebug following this gist but I'm not able to debug my code.
If I run validation script into Run >> Web Server Debug Validation in PhpStorm, I get every time which you see below
I can't understand warning "Remote debug is not enabled" because it's configured as enabled in my php.ini
Any suggestions?
UPDATE & RESOLUTION
This gist is not correct for me!
I have edited /etc/php/7.0/cli/conf.d/20-xdebug.ini in this way
zend_extension=xdebug.so
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM
xdebug.max_nesting_level = 512
xdebug.file_link_format = phpstorm://open?%f:%l
and then in Run configuration I've put a PHP Web Application config
