Domanda

Im trying to hit a module from Drupal with PHP Storm and xdebug. I can hit the index.php file, but not this module. Any clue?

zend_extension = "c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9.dll"

[xdebug]
xdebug.remote_enable = On
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp

When I try to validate remote environment from the debug/servers section I get "Failed to execute validation script".

È stato utile?

Soluzione

Not sure what happened but today it started working. I believe I had the wrong module file open, which was from the website. PHP Storm adds external libraries that contain the same code, but if I update one it wont update the other file. So I updated the external library file with breakpoints and confirmed it's working.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top