php.ini file setup and Zend framework mappings...

Hello,
I'm new to Php and am trying to get the *.phtml files to hit breakpoints -- these are ultimately the views in Zend Framework.  It seems as though my google searches for setting the php.ini file return properties that don't seem to work.  I'm interested in what is at least a minimal [debug] configuration for the php.ini for PhpStorm to work.

I have another problem where the *.phtml files that have break points in them are not getting hit.  PhpStorm applies syntax highlighting as though it recognizes the file as a PHP file.  There is an index.php file that has breakpoints and they pause execution during debugging.  I'm not sure what to do.  My google searches indicate that I need to map the URLs to files but am not clear how to do this. 

 

 

0
1 comment

Sorry for the late reply.

Minimals are:

[Xdebug]

zend_extension=<full_path_to_xdebug_extension>

xdebug.remote_enable=1

xdebug.remote_host=<the host where PhpStorm is running (e.g. localhost)>

xdebug.remote_port=<the port to which Xdebug tries to connect on the host where PhpStorm is running (default 9000)>

 

Please see our debugging guide: https://www.jetbrains.com/phpstorm/documentation/debugging/

 

> the *.phtml files that have break points in them are not getting hit

We need to inspect how did you set up your project.

Where's the location of your web root, your project & what URLs are you opening.

0

Please sign in to leave a comment.