Netbeans debugger
Posted by: userPhp (---.11-188-b.business.telecomitalia.it)
Date: January 27, 2017 11:08AM

hi,
I have installed wamp and I'm writing code with netbeans, it does not work the debugger, I will show the message “Waiting For Connection (netbeans-xdebug)”, how do I fix?
i have try with this code in php ini:

[XDebug]
zend_extension = "C:\wampp\php\ext\php_xdebug-2.2.3-5.4-vc9-nts.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\wampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
;xdebug.trace_output_dir = "C:\wampp\tmp"

I tried different combinations, commenting and uncommenting the lines of code.
please help me!
it's crazy to program without debugging grinning smiley

Options: ReplyQuote
Re: Netbeans debugger
Posted by: Otomatic (Moderator)
Date: January 27, 2017 11:13AM

Hi,

> C:\wampp\php\ext\php_xdebug-2.2.3-5.4-vc9-nts.dll
It is not an Wampserver installation.

Wampserver installation install the right xdebug dll.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Netbeans debugger
Posted by: userPhp (---.11-188-b.business.telecomitalia.it)
Date: January 27, 2017 11:36AM

Yes sorry,
I copied code from the internet to understand the problem, when I can put the right code.
Now in the output of the php info appears xdebug but in IDE not working..

Options: ReplyQuote
Re: Netbeans debugger
Posted by: userPhp (---.11-188-b.business.telecomitalia.it)
Date: January 27, 2017 11:45AM

however I used a different dll than Wampserver installation, because xdebug couldn't see even in the output of php info.
I put the php ini output in the xdebug page (https://xdebug.org/wizard.php) for get dll.

Options: ReplyQuote
Re: Netbeans debugger
Posted by: RiggsFolly (Moderator)
Date: January 27, 2017 12:37PM

Hi,

You should not mess with the XDEBUG that comes with WAMPServer. It works and is correct. Upgrades are available on the alternate download site as ADDONS to WAMPServer 3

I to use NetBeans and Eclipse, and both work with the "Out of the box WAMPServer" with no issues.

I would suggest that you NetBeans config need to be looked at

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Netbeans debugger
Posted by: userPhp (---.11-188-b.business.telecomitalia.it)
Date: January 27, 2017 02:27PM

So I should download php and apache(of my version) for then replace the modified files with the originals?
This is my debugging configuration of netbeans. I think it's right..

debugger port: 9000
Session ID: netbeans-xdebug
Maximum Data Length: 2048

serve other settings?

Options: ReplyQuote
Re: Netbeans debugger
Posted by: RiggsFolly (Moderator)
Date: January 27, 2017 03:34PM

The default XDEBUG dll is in


zend_extension ="C:/wamp/bin/php/php7.0.4/zend_ext/php_xdebug-2.4.0-7.0-vc14.dll"

Your version of PHP may be different so check the php7.0.4 part of the path.

Remember WAMPServer can have and does in a couplle of recent installs more than one versionof PHP and the dll for XDEBUG can be PHP version specific. So it lives in the PHP{version} folder for a good reason



It would also be useful of you answered the Sticky Post READ (and answer) BEFORE YOU ASK A QUESTION So we can know what versions of everything you are using.

I would say it might be a good idea to move to WAMPServer 3.0.8 as I am guessing you are using WAMPServer 2.5 maybe

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 01/27/2017 03:37PM by RiggsFolly.

Options: ReplyQuote


Sorry, only registered users may post in this forum.