Loading TOC...

dbg:connect

dbg:connect(
   $server as xs:unsignedLong
) as empty-sequence()

Summary

Connect to a Server (http, xdbc, or task) for debugging. Any running requests will be stopped and new requests will stop at the first expression.

Parameters
server A server ID.

Required Privileges

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

Example

  dbg:connect(4928402983)
  => ()
  

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