View Issue Details

IDProjectCategoryView StatusLast Update
0001412XdebugStep Debuggingpublic2020-03-12 16:43
Reporterwebdbase Assigned To 
PrioritynoneSeverityfeatureReproducibilityN/A
Status resolvedResolutionwon't fix 
PlatformAnyOSAnyOS VersionAny
Summary0001412: Variable remote port
Description

Is it possible to add support for a variable remote port, e.g. sent via a GET variable XDEBUG_REMOTE_PORT=DDDD?
The reason is simple. If I am connected to more than one server through SSH at the same time, which are behind a firewall, I cannot tunnel simultaneously one and the same port to each server through SSH.

TagsNo tags attached.
Operating System
PHP Version5.1.0

Activities

derick

2017-04-16 08:36

administrator   ~0004267

Hi,

I am not going to add this. Similarly to not having the remote host configurable through the web interface, adding this would open up hosts with Xdebug running to make random connections to other ports on your (firewall) host.

Instead, Xdebug already provides functionality for this with the help of a DBGp proxy. I have written how this works at https://derickrethans.nl/debugging-with-multiple-users.html, and PhpStorm allows for DBGp proxies to be used too.

cheers,
Derick