If you run the proxy and you receive this mistake: Traceback (most recent call last): Start the proxy with -d argument specifing the IP for Xdebug to connect to and -i port where the IDE is going to contact the proxy. The proxy is written in Python, so make sure you have it installed. Go to Komodo's remode debugging package downloads and get Python remote debugging client for the operating system where you want to run the proxy. See DBGp Proxy Tool Documentation for more information.Īlternative - Download and install Komodo's DBGp proxy Start the proxy with -s argument specifying the IP for Xdebug to connect to and -i port where the IDE is going to contact the proxy. Place the proxy on the web server, or any machine that is accessible by both the web server and the developers. Open DBGp Proxy Tool download page and choose the executable file for your operating system. Each developer from the team connects to the proxy and when the debug session is initiated, Xdebug connects to the proxy which then sends the connection to the right IP address.Ĭonfiguration STEP 1 - Download and install DBGp proxy But this is not recommended, because it opens the possibility for anyone to debug your application. One option is to set xdebug.discover_client_host (Xdebug 2: xdebug.remote_connect_back). Xdebug doesn't allow to set more than one IP address to connect to. The situation gets more complicated when a team of programmers needs to debug the same application which runs just on this web server. You do it by setting xdebug.client_host (Xdebug 2: xdebug.remote_host) to your IP address. When you want to debug a PHP application remotely on one server, you need to set up PHP to connect back to your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |