This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160501 - Netbeans Debugger Proxy
Summary: Netbeans Debugger Proxy
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-17 21:06 UTC by radalin
Modified: 2009-04-09 19:33 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description radalin 2009-03-17 21:06:51 UTC
Hi, 

I currently have a problem with remote debugging on xdebug and netbeans. My web server is on a remote server and we are more than one developers who 
wants to control the debugging features on the server. 

So the xdebug's remote_host property does not work for us because we have more than one ips and these ips are generally not static. 

So I guess we should use a proxy which will take our requests and forward it to a port which is listened by xdebug

Komodo has done such a debug proxy. Details here: http://docs.activestate.com/komodo/5.0/debugger.html#dbgp_proxy (proxy is not written but they 
have put a proxy property which was forwarding the requests)

In Netbeans I was unable to find where to put an ip address which will be used as a proxy. It was assumed that xdebug was already listening the 
development machine's port. 

I did not found this feature on 6.7 M2 either.

It would be nice to see such an enhancement.

Thanks
Comment 1 rmatous 2009-04-03 18:14:29 UTC
I've implemented it and commited locally, works for me.Tomas could you add API && UI changes for 3 project global
options. See snip of the code:
this.isProxyEnabled = false;//TODO: PhpOptions.getInstance().isProxyEnabled();
this.proxyHost = "localhost";//TODO: PhpOptions.getInstance().getProxyHost();
this.proxyPort = 9001;//TODO: PhpOptions.getInstance().getProxyPort;

Reassigning to php.project
Comment 2 Quality Engineering 2009-04-07 07:24:28 UTC
Integrated into 'main-golden', will be available in build *200904070200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7f0cf8a89360
User: Radek Matous <rmatous@netbeans.org>
Log: #160501 Netbeans Debugger Proxy
Comment 3 Tomas Mysik 2009-04-08 14:29:41 UTC
Fixed.
http://hg.netbeans.org/web-main/rev/65448520dae7
Comment 4 Quality Engineering 2009-04-09 19:33:51 UTC
Integrated into 'main-golden', will be available in build *200904091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/65448520dae7
User: Tomas Mysik <tmysik@netbeans.org>
Log: #160501: Netbeans Debugger Proxy