Skip to content

Debug Configuration

Complete reference for debug settings.

Configuration Location

debug:
  # Settings here

Settings Reference

Master Debug Toggle

Path: debug.enabled
Type: boolean
Default: false
Description: Master debug switch

debug:
  enabled: true

Debug Categories

Path: debug.<category>
Type: boolean
Default: false
Description: Enable specific debug categories

Categories: - protection - Protection plugin integration - performance - Performance monitoring - operations - Tool operations - cooldown - Cooldown system - durability - Durability system - integration - Plugin integrations

debug:
  protection: true
  performance: true
  operations: true
  cooldown: false
  durability: false
  integration: true

Debug Output Settings

Path: debug.show-timestamps
Type: boolean
Default: true
Description: Show timestamps in debug messages

debug:
  show-timestamps: true

Path: debug.show-thread-info
Type: boolean
Default: false
Description: Show thread information in debug messages

debug:
  show-thread-info: false

File Logging

Path: debug.log-to-file
Type: boolean
Default: false
Description: Save debug logs to file

debug:
  log-to-file: true
  log-file: "logs/sigmatools-debug.log"
  log-level: "INFO"

Settings: - log-file - Debug log file path (default: "logs/sigmatools-debug.log") - log-level - Log level: DEBUG, INFO, WARN, ERROR (default: "INFO")

Complete Example

debug:
  enabled: true
  protection: true
  performance: true
  operations: true
  cooldown: false
  durability: false
  integration: true
  show-timestamps: true
  show-thread-info: false
  log-to-file: true
  log-file: "logs/sigmatools-debug.log"
  log-level: "INFO"

Enabling Debug via Command

# Enable all debug
/sigmatools debug toggle all on

# Enable specific category
/sigmatools debug toggle operations on

# Check status
/sigmatools debug status

Next Steps