Add a String() method.
Update for SetDebug API change.