XQuery debugging is supported for now only for the MarkLogic database engine.
To start a debug session against the MarkLogic engine you will first need to configure a MarkLogic datasource and a MarkLogic connection. Also you have to make sure that the debugging support is enabled in the MarkLogic server that will be accessed from <oXygen/> and that is configured in the MarkLogic datasource.
The MarkLogic XQuery debugger integrates seamlessly into the XQuery Debugger perspective. If you already have a MarkLogic scenario configured for the XQuery file you can choose directly to debug the scenario. If not, you just have to switch to the XQuery Debugger perspective, open the XQuery file in the editor and select the MarkLogic connection in the XQuery engine selector from the debug control toolbar. For general information about how a debugging session is started and controlled see the working with the debugger section.
Debugging support is available only for MarkLogic server versions 3.2 or newer.
All debug steps are executed remote on the MarkLogic server and the presented data or possible errors come from the server.
All declared variables are presented as strings.
No support for Output to Source Mapping.
No support for evaluating break conditions.
No support for showing the trace.
No breakpoints can be set in the imported modules.