Just tried \TYPO3\CMS\Core\Utility\DebugUtility::debug and still no output on the screen or in the debug console. This does make developing this toolbar item much more difficult without an easy way to see what is going on. Thanks Matt