sciter-sdk / pysciter

Python bindings for Sciter
https://sciter.com
MIT License
396 stars 40 forks source link

Debug output can be conditional #60

Closed pravic closed 2 years ago

pravic commented 2 years ago

Host.setup_debug allows to customize its behavior:

By default, new windows are inspectable (depending on Window(debug=) constructor) and debug output is always enabled.

If you need to disable the debug output, either call frame.setup_debug(debug_output=False) or override Host.on_debug_output.

pravic commented 2 years ago

cc @AlecHaring