View Issue Details

IDProjectCategoryView StatusLast Update
0002255XdebugdbgpProxypublic2024-03-29 15:19
ReporterSveneld Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0002255: dbgpProxy connection info
Description

When i'm running dbgpProxy with such configuration
./dbgpProxy -d -i localhost:5001 -s localhost:5003

i get such output
Xdebug DBGp proxy (0.6.0)
Copyright 2023 by Derick Rethans
2024-03-25 11:37:39.124 [warn] [SSL] The 'certs/fullchain.pem' file could not be found, not enabling SSL listeners
2024-03-25 11:37:39.124 [info] [dbgpProxy] Proxy started
2024-03-25 11:37:39.124 [info] [server] Started server server on 127.0.0.1:9003
2024-03-25 11:37:39.125 [info] [server] Started client server on 127.0.0.1:9001

Why server and client starts on another ports? It's an output mistake or configuration does not applied?

TagsNo tags attached.
Operating System
PHP Version8.2.0-8.2.9

Activities

derick

2024-03-29 14:43

administrator   ~0006882

Your problem is using -d like this. It takes an argument. The argument value then becomes the -i, and all the other arguments are then seen as just positional arguments.

I'll add a check for this in the argument parsing routines.

In your case, just drop the -d and you should be fine.

derick

2024-03-29 15:06

administrator   ~0006883

I've added the check for the arguments now, and uploaded new binaries to https://xdebug.org/download#dbgpProxy

Issue History

Date Modified Username Field Change
2024-03-25 11:41 Sveneld New Issue
2024-03-29 14:43 derick Status new => acknowledged
2024-03-29 14:43 derick Category Uncategorized => dbgpProxy
2024-03-29 14:43 derick Note Added: 0006882
2024-03-29 15:06 derick Assigned To => derick
2024-03-29 15:06 derick Status acknowledged => closed
2024-03-29 15:06 derick Resolution open => fixed
2024-03-29 15:06 derick Note Added: 0006883