Loading TOC...

MarkLogic 10 Product Documentation
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)
  => ()
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.