Xdebug + XAMPP + Netbeans = fail. Cannot get debugger to work in Netbeans

前端 未结 5 543
北荒
北荒 2021-01-14 22:45

I\'ve read other questions regarding this topic. The listed solutions haven\'t worked.

Installed:

XAMPP 1.7.7

Netbeans 7.1.1

XDebug

5条回答
  •  既然无缘
    2021-01-14 23:06

    1. Read the installation of XAMPP 1.7.7 & Netbeans 7.1 with edditing the php.ini file as suggested: http://netbeans.org/kb/docs/php/configure-php-environment-windows.html

    2. Create your PHP project in the local XAMPP directory, c:\xammp\htdocs\*yourproject*

    3. Debug the index.php, you will see that your browser will start with additional parameters: http://*yourproject*/index.php?XDEBUG_SESSION_START=netbeans-xdebug

    4. Go to your Netbeans, your debugger will be started.

提交回复
热议问题