Xdebug with PhpStorm on Windows 10

Tools Required:

  1. XAMPP
  2. Xdebug extension
  3. PhpStorm

Steps:

1. Download & Install XAMPP (from here)

2. Download correct Xdebug extension file (from here) and configure your php.ini (xampp\php\php.ini) file with the following lines

[xdebug]
zend_extension=php_xdebug-2.5.5-7.1-vc14.dll
xdebug.remote_enable=1
xdebug.idekey=PHPSTORM

NOTE: You need to restart your apache after modifing the php.ini file.

3. Download & Install PhpStorm ,then create a php project. To debug that php project you need to configure the IDE (PhpStorm). To configure Click on the PhpStorm’s menu and select Run->Edit Configurations…, a new window will pop, and in that window click the add(+) button and select Php Web page, and fill the form.

 

Advertisements

About uzzal

Software developer
This entry was posted in misc. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s