Just a couple of notes here...
First, remote debugging of web applications like MODx is possible with PHPEclipse and DBG. I use it quite a bit actually. To get your remote debugging environment working, or just to learn more about using PHPEclipse in general, I suggest reading the information here:
http://www.plog4u.org/index.php/Using_PHPEclipse
I use this reference all the time, and have, like I said, successfully used DBG to debug core MODx code (and even to profile requests) following the instructions there.
However, you will
not be able to step through the execution of
plugins or snippets at all. This is due to the fact that MODx uses
eval() to execute this code. This is one of the reasons I chose to get rid of the
eval()’s (in addition to security and performance concerns) in the new MODx 1.0 core, which will allow developers to easily step through any MODx request, including all of the plugins, snippets, etc. using any popular IDE/debugger.