Set Upload changed files automatically to the default server to Always. Under PhpStorm settings, open Languages & Frameworks > PHP > Debug. Thanks to Joshua Johnson for the hint.ĭownload the latest PhpStorm & WebStorm 4.0 EAP.In the pre-configuration steps, press Validate to open the configuration validator. (Xdebug only) Please ensure that ‘ xdebug.remote_connect_back’ configuration option is disabled.Run PHP with the ‘–i’ option to check which configuration files it actually uses (see the official documentation for details). Your PHP CLI interpreter might use another php.ini configuration file than the one installed on the web server.Here are some possible problems you can encounter when debugging remote PHP debugging command line scripts: Please note that it will work for any debug connection (both for web applications and command line scripts) because this check has the highest priority in the path mapping detection algorithm. To tell PhpStorm which path mapping configuration it should use for a connection from a certain machine you need to set the value of the “ PHP_IDE_CONFIG” environment variable to “ serverName=SomeName”, where ‘SomeName’ is the name of the server configured in ‘ Project Settings | PHP | Servers’. You, our users, have asked us to provide a way to debug remote PHP command line scripts using the listening mode (see WI-7906) and we’ve implemented a generic mechanism to specify the path mapping configuration to use. Therefore it is hard to support debugging of remote PHP command line scripts in the listening mode because there is no definite way to detect the path mapping configuration to be used for such debug sessions. Zero-configuration debugging is based on analyzing your environment variables. ‘Start Listen PHP Debug Connections’ action
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |