Debugger class. Will stop the execution of the code until the continue event is triggered. This is used to debug the code in a more controlled way. This class is only active when the server debug mode is enabled.

Constructors

Methods

Constructors

  • Parameters

    • moduleName: string

    Returns Debugger

Methods

  • Stops the execution of the code until the continue event is triggered.

    Parameters

    • id: string

      Unique identifier for the breakpoint

    • args: any = null

      Arguments to be displayed when the breakpoint is hit

    Returns void

  • Similar to a breakpoint, but it doesn't stop the execution of the code, just logs the information.

    Parameters

    • id: string

      Unique identifier for the watchpoint

    • args: any = null

      Arguments to be displayed when the watchpoint is hit

    Returns void