Mac Phpstorm Xdebug



In an earlier post I demonstrated how to install PHP5.4 using brew. Today, I required xdebug for debugging purposes and found it quite easy to install via homebrew.

  1. Phpstorm Xdebug Vagrant
  2. Macos Phpstorm Xdebug Not Working
  3. Phpstorm Setup Xdebug
  4. Xdebug Phpstorm Cli
  5. Mac Phpstorm Xdebug 配置
  • Before upgrading my macbook to El Capitan I had a sweet setup of Phpstorm 9, php 5.6 (via homebrew), xdebug (via homebrew). For the last month or so, however, I have been breakin my head, trying to.
  • PhpStorm, Xdebug, Docker & Mac Your Docker containers will have an IP address beginning 172.xxx.xxx.xxx (each container gets it’s own – check what it is ) You might assume that’d be enough to avoid conflicts with your real IP address or 127.0.0.1 when specifying xdebug.remotehost.
  • Depending on your environment, you can debug your PHP Web application locally or remotely. To test direct connection, run the telnet host 9000 (for Xdebug) or the telnet host 10137 (for Zend Debugger) command on the remote server and ensure that connection is established. Here, host is the IP address of the local machine PhpStorm is running on.

Configure a configuration in the toolbar. Use PHP remote Debug. Add a server to your domain (without protocoll like or set port for http / https (not the xdebug port here) select Debugger: Xdebug. If needed: set path mappings. Set Ide key (session id): to PHPSTORM. Happy debugging.

Install XDebug for PHP
It’s as simple as issuing the command:

zend_extension='/usr/local/Cellar/php54-xdebug/2.2.0/xdebug.so'

Follow the output of the brew info output of the package you installed (either php53 or php54):