Skip to content

← diagnostics package

IsDebugMode

Determine if the pipeline is running in debug mode.

This will return True if an external debugger is attached to NeuroPype (e.g. PyCharm) and False otherwise. Version 1.0.0

Ports/Properties

data

Running in debug mode.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: bool (can be None)
  • data direction: OUT

override

Override the actual debug-mode status. This can be used to simulate the behavior of the pipeline for output values of this node.

  • verbose name: Override
  • default value: keep
  • port type: EnumPort
  • value type: str (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)