

- #XDEBUG PHPSTORM CONFIGURATION GENERATOR#
- #XDEBUG PHPSTORM CONFIGURATION PLUS#
- #XDEBUG PHPSTORM CONFIGURATION MAC#
Name - This is how you will be able to identify & Run your debug configuration.Be sure to add the following information:.
#XDEBUG PHPSTORM CONFIGURATION PLUS#
Click the Plus Sign button and select PHP Web Application.Select Edit Configurations from the Run configuration drop-down.Next We'll setup a Web App Debug Configuration to store configuration settings specific to your Php Project:
#XDEBUG PHPSTORM CONFIGURATION MAC#

On the mac you can pick from your personal website ( /Users/username/Sites) or the computer site ( /Library/WebServer/Documents). I accomplished this by creating a symlink to my PhpProjects directory in my html document root folder. Note 2: Be sure to restart your httpd daemon after making these changesįor PhpStorm to be happy about debugging web applications you must configure your http server to have a (virtual) directory that points to you PHP Project. Here are the xdebug settings that you should be concerned with to make PhpStorm Happy. Note 1: xdebug defaults to certain settings when you don't specify them. You can see there isn't much to the xdebug configuration: Here's that change in context with my php.ini file.

You can add additional xdebug settings below that line. Do a search for xdebug and you should find at least one commented-out configuration option towards the bottom of the file. On my Mac, the php.ini file is located in /private/etc/php.ini. For other platforms some changes may need to be made Note: I am continuing this configuraion on my Mac.Important: information on xdebug.remote_host setting (php.ini).
#XDEBUG PHPSTORM CONFIGURATION GENERATOR#
