Cocos Creator
Editor.Debugger
The debugger utils for the main process.
Properties
Editor.Debugger.debugPort
The debug port for node inspector.
Editor.Debugger.isNodeInspectorEnabled
Indicate if the node inspector is enabled.
Editor.Debugger.isReplEnabled
Indicate if the repl is enabled.
Methods
Editor.Debugger.activeDevtron ()
Active devtron.
Editor.Debugger.toggleNodeInspector ()
Toggle the node inspector in main process.
Editor.Debugger.toggleRepl ()
Toggle the repl in main process.
Editor.Debugger.startNodeInspector ()
Turn on the node inspector in main process.
Editor.Debugger.startRepl ()
Turn on the repl in main process.
Editor.Debugger.stopNodeInspector ()
Turn off the node inspector in main process.
Editor.Debugger.stopRepl ()
Turn off the repl in main process.