See merge conflict with master. This code has been moved to src/extensions/default/DebugCommands/main.js.