Maison  >  Article  >  développement back-end  >  netbeans xdebug_PHP教程

netbeans xdebug_PHP教程

WBOY
WBOYoriginal
2016-07-20 11:13:43767parcourir

xdebug配置

装了wamp后,xdebug默认就安装好了,为了能够用netbeans远程调试,配置文件里得加几句

<span [</span><span xdebug</span><span ]</span><span 
xdebug.remote_enable </span>=<span  on
xdebug.remote_handler</span>=<span dbgp
xdebug.remote_host</span>=<span localhost
xdebug.remote_port</span>=9000

 Netbeans配置

工具选项

  •  常规=>Web浏览器=>Firefox
  •  PHP=>常规=>PHP 5解释器=>\bin\php\php5.x.xx\php.exe
  •  PHP=>调试:这里默认就行了,默认就是9000号端口

调试

打开要调试的文件,选择“调试=>调试文件”菜单即可

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/440363.htmlTechArticlexdebug配置 装了wamp后,xdebug默认就安装好了,为了能够用netbeans远程调试,配置文件里得加几句 = = = =9000 Netbeans配置 工具选项 常规=Web浏览器...
Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn