Unable to debug a Drupal 8 site

Hello

Win 7 64 bits. Phpstorm 9.0. Drupal 8.

My config looks ok : xdebug is seen (see capture plz)

Could you help me to make phpstorm stops at a breakpoint ?

How I'm supposed to launch the debugging ? (run > debug > index.php > debug ?? )

Thx.

Laurent Culoto.


 

0
Avatar
Permanently deleted user

Hi,

For Chrome browser:

* install https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc
* create a "Local or mounted folder" configuration in File | Settings | Build, Execution, Deployment | Deployment
* In PhpStorm enable Run > Start Listening for PHP Debug Connections
* open the page you need to debug in Chrome
* enable debug mode with the extension from step 1
* reload the page

PhpStorm will catch an incoming connection and you will be able to debug a web page.

This approach is described here in more details: https://confluence.jetbrains.com/display/PhpStorm/Zero-configuration+Web+Application+Debugging+with+Xdebug+and+PhpStorm

0

请先登录再写评论。