python-websocketd
Python module for creating a http server which uses WebSockets.

◆ DEBUG

int websocketd.DEBUG = 0 if os.getenv('NODEBUG') else int(os.getenv('DEBUG', 1))

Debug level, set from DEBUG environment variable.

  • 0: No debugging (default).
  • 1: Tracebacks on errors.
  • 2: Incoming and outgoing RPC packets.
  • 3: Incomplete packet information.
  • 4: All incoming and outgoing data.
  • 5: Non-websocket data.

Definition at line 104 of file websocketd.py.