Debug validation problem

Hi,

I just downloaded today the evaluation version of phpstorm (build ps-95503) and want to try to debug a php file.
But phpstorm give me the next 2 errors when I start a debugsession on localhost

- xdebug.remote_enable configuration option should be set to 'true' to enable remote debugging
- xdebug should be installed using 'zend_extension_ts' configuration option

and this is a code snippet of my php.ini (php 5.2.13)

zend_extension_ts="C:\Progra~1\PHP\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.show_local_vars=On
xdebug.collect_return=On
xdebug.collect_params=4
xdebug.profiler_enable=On
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir="C:\tmp\xdebug"

I don't know what is wrong.

Thanks,
Jan

3 comments

Hello Jan,

If you add phpinfo() call to the script and run it, does it contain Xdebug information?

Regards,
Kirill

0

Hello Kirill,

No, notting about xdebug in the php info page. I have attach my php.ini file to be sure.

Thanks,
Jan



Attachment(s):
php.ini.zip
0

If 'loaded configuration file' value in phpinfo() output points to the right file (e.g. you may have PHPRC environment variable that affects), try specifying unescaped path to xdebug.dll, i.e.

zend_extension_ts="C:\Program files\PHP\ext\php_xdebug.dll"

Regards,
Kirill

0

Please sign in to leave a comment.