From: Dmitriy S. <sha...@gm...> - 2009-10-09 12:25:40
|
On Fri, 2009-10-09 at 12:47 +0100, Andrew Hart CEMS Staff wrote: > So you can do xquery debugging in eXist with vim and emacs using xdebug > protocol? > Has anyone got a howto? I can set up so that vim is waiting for a > connection but then I'm a little lost as to where to configure eXist-db. You should build extensions/debuggee/src as jar. If you have the problem with it, I can commit ant target. add libs mina-core-2.0.0-M6.jar & slf4j-api-1.5.8.jar & slf4j-simple-1.5.8.jar to class path. Next step is run geben & run your script with the xdebug switch on, eg. http://www.example.com/script.xql?XDEBUG_SESSION_START=1 More details can be found here: (note: you DO NOT need to configure eXist as php server) http://blog.local.ch/archive/2008/08/08/debug-php-in-emacs-with-geben.html -- Cheers, Dmitriy Shabanov |