Image for post
Image for post

Xdebug is often used for debugging PHP programs. However, IDE and Xdebug’s standard capabilities are not always sufficient. Some, but not all, problems can be resolved using the Xdebug proxy, pydbgpproxy. This is why I have created a PHP Xdebug proxy based on the asynchronous framework, amphp.

In this article, I will be looking at what is wrong with pydbgpproxy, what it is missing and why I decided not to rework it. I will also be explaining how PHP Xdebug proxy works and using an example to show how it can be extended.

Pydbgpproxy vs PHP Xdebug proxy

Xdebug proxy is an intermediate service between IDE and Xdebug (it proxies queries from Xdebug to IDE and vice versa). Generally, it is used for multiuser debugging. This is when you have one web server and several developers. …

Mougrim

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store