TABLE OF CONTENTS
::pwtk::debug
SYNOPSIS
proc ::pwtk::debug {channel {msg ""}} {
USAGE
debug ?channel? $msg
DESCRIPTION
Print a debug message to a channel (only when ::debug variable exists and is true).
ARGUMENTS
- channel -- (optional, default = stderr) channel to prints to
- msg -- message to print