Vagrant + PHPSTORM Configuration XDebug

Workers must have a good thing, and must first make a tool.

Vagrant is a Ruby-based tool for creating and deploying virtualization development environments. It uses Oracle’s open source VirtualBox virtualization system to create an automated virtual environment using Chef.

XDebug is an extension of PHP, which allows PHP developers to debug with analysis code, and efficient tracking errors, so it is a debug must.

Step 1: Install and configure Vagrant

Specific installation method does not explain, many blogs have written, self-look.

Next: Install XDebug Expansion

Installation steps don’t say more, you can refer to my previous blog installation, after the installation is successful in PHP.ini Configuration:

Zend_extension = “/ usr / local / pHP-5.4.33 / lib / php / extensions / no-debug-non-zts-20100525 /” xdebug.remote_enable = onxdebug.remote_connect_back = onxdebug.idekey = “marongcai” xdebug.remote_autostart = 1; xdebug.remote_port = 9000xdebug.remote_handler = dbgp

The PHP-FPM is then restarted to ensure that the XDebug extension is successfully installed.

Step 3: Configuring phpStorm

Do not do text description, full image, in order to operate

1, configure PHP-related

2, withPlace proxy


3, add xdebug and mapping


4, incorporation of point debug


© Copyright Notice
Just support it if you like
comment Grab the couch

Please log in to comment