dbg:attach

dbg:attach(
   $request-id as xs:unsignedLong
) as empty-sequence()

Summary

Attach to a request and stop it for debugging.

Parameters
request-id A request ID.

Required Privileges

http://marklogic.com/xdmp/privileges/debug-my-requests or http://marklogic.com/xdmp/privileges/debug-any-requests

Example

  dbg:attach(204928402983)
  => ()
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy