added getDebugCommands to v1 api