I am trying to configure the PHP remote debugging feature of the PHP plugin in IntelliJ. When I try to validate my configuration I get the following error:
Failed to execute validation script:
'Could not read from "host:port/path/to/_intellij_phpdebug_validator.php"
because it is not a file.'
I don't really know where the problem is. I assume this php file is something that IntelliJ copies to the remote server and then tries to execute. But for some reason that fails. Can anyone provide some insight what this error means and how to fix it?
This problem appears if the 'Web Path' field under Tools | Deployment | Configuration | Mapping is not correctly pointing to the url at which the uploaded validator script is accessible.
Just download file
http://gist.github.com/litzinger/8fd06ab6e5033b7ff8d8
to your deployment directory or directly to target server document root directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With