The debug power allows the ability for a skill writer to log messages when the skill is executing. This power can be called multiple times during a skill execution. After the skill logic executes, the debug messages will be aggregated and viewable from the Debug Logs tab in the Skill Details page.
Note: The total length of the aggregated messages per skill execution cannot exceed 1024 characters.
In this Article
When to use the Debug Power
The debug power can be useful to log output from a skill in the development phase. The power will produce output when the skill is enabled in the Development workgroup only.
How to use the Debug Power
This power accepts message types of string or number. It can be called in the shouldIRun or Run functions.
skillContext.powers.core.log.debug("Debug message from skill execution");