I have tried to set up PhpStorm to launch the JavaScript and PHP debugger at the same time following steps from JetBrains documentation (section #4) but when I will run both of them I'm not able to pass first application screen which is login page. It hangs on a login process which is PHP code. PHP log returned following error message
file_get_contents(http://localhost:8888/data/?/Ajax/&q[]=/0/): failed to open stream: HTTP request failed!
but when I do only PHP debugging (as PHP remote debug (via Xdebug) to a localhost) all works fine except breakpoints on JavaScript files.
Any tips on how to get it set up so I can debug JS code as well?
It came up that issue was with how Xdebug handles multiple debug sessions. I was able to fix issue by implementing steps from JetBrains documentation.