Multiuser XDebug with DBGp proxy
In my office there are two programmers, working on the same project. We
want to use the debugger, but in the php.ini I can only set one
remote_port (9000)
This is why dbgp proxy borned. I worked based on this tutorial:
http://matthardy.net/blog/configuring-phpstorm-xdebug-dbgp-proxy-settings-remote-debugging-multiple-users/
I installed it on the server, and started the proxy with this command:
./pydbgpproxy -i 0.0.0.0:8999 -d 9000
The IDE settings:
PHPStorm 1:
XDebug port: 9001
DBGp proxy IDE key: PHPSTORM
DBGp proxy Port: 8999
PHPStorm 2:
XDebug port: 9002
DBGp proxy IDE key: PHPSTORM2
DBGp proxy Port: 8999
I registered both of the IDE, and I've got message: successful
The result of the debugging test: PHPStorm 2 is working (this is
registered first), but PHPStorm 1 is not
Port 9001 and 9002 are forwarded to the computers in the router.
So this is my problem, I hope you can help me.
No comments:
Post a Comment