I’m interested in trying xdebug to debug some applications I’m developing in PHP, however I’m not sure whether it would be advantageous to either install it locally on my xampp configuration or on my remove VPS server.
Are there any benefits to doing either? One of my concerns is my remote VPS has a limited amount of memory and I’m worried about any unnecessary overhead/memory consumption, however I’m prepared to make the sacrifice if installing it on my remove VPS will bring me certain benefits.
Many thanks
Although the newer version does allow you to filter which IP addresses to send debug information to, the fact is that XDebug connects back to your computer to work with the debugger (hence, increasing the ability for someone else to grab information from the live site).
I would suggest that if you can avoid it, don’t install the XDebug extension into your VPS… Besides, if you’re doing all of your development locally, isn’t that the more beneficial place to have the debugger?