使用Xdebug的下一步是什么

I'm using PhpStorm and laravel 5. I have done the following steps below and have my laravel 5 project open. What must i do now to start debugging? I do not know the next steps in this process on the phpStorm side.

Instructions

Download xdebug-2.3.1.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.3.1.tgz
Run: cd xdebug-2.3.1

Run: phpize (See the FAQ if you don't have phpize.

As part of its output it should show:

Configuring for:
...
Zend Module Api No:      20100525
Zend Extension Api No:   220100525

If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.
Run: ./configure
Run: make
Run: cp modules/xdebug.so
Edit /etc/php.ini and add the line
zend_extension = /xdebug.so
Restart the webserver
查看全部
dsg24156
dsg24156
2015/03/18 20:05
  • laravel
  • php
  • xdebug
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复