Heim  >  Artikel  >  Backend-Entwicklung  >  phpstorm - 使用PHPStrom,如何进行Debug?详细的说明各位大神请看下面

phpstorm - 使用PHPStrom,如何进行Debug?详细的说明各位大神请看下面

WBOY
WBOYOriginal
2016-06-06 20:43:071085Durchsuche

我想用phpstrom进行php的程序进行debug。我点击项目的右键,然后再点击debug,出现了如下页面:
phpstorm - 使用PHPStrom,如何进行Debug?详细的说明各位大神请看下面

我有两个问题求各位大神解答:
第一:
1.使用phpstrom来debug,必须安装xdebug或者其他的debug工具么?
2、这些配置文件是咋搞的啊!!完全不懂这些配置文件是咋搞的。求大神解答

回复内容:

我想用phpstrom进行php的程序进行debug。我点击项目的右键,然后再点击debug,出现了如下页面:
phpstorm - 使用PHPStrom,如何进行Debug?详细的说明各位大神请看下面

我有两个问题求各位大神解答:
第一:
1.使用phpstrom来debug,必须安装xdebug或者其他的debug工具么?
2、这些配置文件是咋搞的啊!!完全不懂这些配置文件是咋搞的。求大神解答

xdebug 是必须安装的
参考这篇文章: http://confluence.jetbrains.com/display/PhpStorm/Zero-configuration+Web+Application+Debugging+with+Xdebug+and+PhpStorm

http://www.imotaku.net/phpstromxdebug.html
1、在php.ini文件里开启debug,并加上xdebug.idekey=”PHPSTORM”
2、配置phpstorm的server和xdebug选项
3、给chrome或者firefox装上xdebug插件
耐心一步步来,自己google 有很多教你配置的博客写的都很详细

需要PHP支持,例如装xdebug

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn