Ok, I'm probably stupid but I cannot make it to work.
The setup is:
- Ubuntu
- apache2
- xdebug
- IntelliJ IDEA 11.1.3 Ultimate
- IntelliJ IDEA PHP Plugin
xdebug is installed.
I would like to debug Drupal site, on my local machine, the project is here:
/var/www/luken/my-site
and URL is here:
http://localhost/luken/my-site
Because I couldn't create a project from existing sources, I created new project (web module) from scratch there. Now the thing is that if I'm running configuration for "PHP Script" - debugger works. But if I try to use configuration for PHP Web Application (so project would be opened in browser) it cannot connect to debugger. I tried a lot of things, and different mappings but obviously I'm missing something stupid. How configuration should look with above setup?