Skip to content

Commit

Permalink
feat: add winedebug flags
Browse files Browse the repository at this point in the history
Add WINEDEBUG flags when the --debug cli argument is passed.
None of these are excessively verbose
  • Loading branch information
ctrlaltf24 authored and thw26 committed Feb 28, 2025
1 parent 55163df commit 8090970
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ou_dedetai/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ def parse_args(args, parser) -> Tuple[EphemeralConfiguration, Callable[[Ephemera

if args.debug:
msg.update_log_level(logging.DEBUG)
if not ephemeral_config.wine_debug:
ephemeral_config.wine_debug = constants.DEFAULT_WINEDEBUG
# Developers may want to consider adding +relay for excessive debug output
ephemeral_config.wine_debug+=',+loaddll,+pid,+threadname'

if args.delete_log:
ephemeral_config.delete_log = True
Expand Down

0 comments on commit 8090970

Please sign in to comment.