Home  >  Article  >  Backend Development  >  netbeans xdebug_PHP tutorial

netbeans xdebug_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:13:43770browse

xdebug configuration

After installing wamp, xdebug is installed by default. In order to use netbeans for remote debugging, you need to add a few sentences to the configuration file

<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 configuration

Tool Options

  • General=>Web Browser=>Firefox
  • PHP=>General=>PHP 5 Interpreter=>8baf0248d6c222ba96a3eeb1025ae366binphpphp5.x.xxphp.exe
  • PHP=>Debugging: Just default here. The default is port 9000

Debugging

Open the file you want to debug and select the "Debug=>Debug File" menu

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/440363.htmlTechArticlexdebug configuration After wamp is installed, xdebug is installed by default. In order to be able to use netbeans for remote debugging, in the configuration file I have to add a few words = = = =9000 Netbeans Configuration Tool Options General = Web Browser...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn