Skip to content
Simon Ser edited this page Jul 6, 2021 · 4 revisions

Sway has some debugging options available via the -D command-line flag.

  • -D damage=highlight: paints regions that haven't been updated in yellow
  • -D damage=rerender: disables damage tracking by forcing the whole output to be repainted each frame
  • -D noatomic: disables atomic transactions
  • -D txn_wait: forces all atomic transactions to time out
  • -D txn-timings: logs addition information about transaction timings
  • -D txn-timeout=<ms>: overrides the default atomic transaction timeout

Also see enable_debug_flag().