I am using:
- WAMP
- PHP 5.3
- XDebug
- NetBeans
I want to debug and have the debug port in Netbeans set as 9000 (after following various tutorials, including this one –> Xdebug And Netbeans Problem ). The problem is, I’m unsure as to the purpose of the port 9000.
Does debug port 9000 mean that I must run Wamp on port 9000?
You don’t run Wamp on port 9000: it’s NetBeans that runs on port 9000!
Your debug client (NetBeans, in this case) needs to listen for incoming connections so Xdebug is able to establish a connection and send the apporpriate info. Please note that there’re two requests involved:
Details can vary depending on your settings but this is the general idea.
The port you choose is irrelevant as far as: