Types
InspectorSession = ref object of JsRoot
- https://nodejs.org/api/inspector.html#inspector_class_inspector_session
Procs
func `$`(self: InspectorSession): string {....raises: [], tags: [].}
func close(): cstring {.importjs: "inspector.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_close
func connect(self: InspectorSession) {.importjs: "#.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_session_connect
func connectToMainThread(self: InspectorSession) {.importjs: "#.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_session_connecttomainthread
func disconnect(self: InspectorSession) {.importjs: "#.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_session_disconnect
func importInspector() {.importjs: "import * as inspector from \'inspector\'@", ...raises: [], tags: [].}
- Alias for import * as module_name from 'module_name';. Must be called once before using the module
func inspectorConsoleClear(): cstring {.importjs: "inspector.console.clear()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleCount(label = "".cstring): cstring {. importjs: "inspector.console.count(#)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleCountReset(label = "".cstring): cstring {. importjs: "inspector.console.countReset(#)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleDebug(args: auto): cstring {. importjs: "inspector.console.debug(@)", varargs, ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleError(args: auto): cstring {. importjs: "inspector.console.error(@)", varargs, ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleGroup(label = "".cstring): cstring {. importjs: "inspector.console.group(#)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleGroupCollapsed(label = "".cstring): cstring {. importjs: "inspector.console.groupCollapsed(#)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleGroupEnd(): cstring {. importjs: "inspector.console.groupEnd()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleInfo(args: auto): cstring {. importjs: "inspector.console.info(@)", varargs, ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleLog(args: auto): cstring {. importjs: "inspector.console.log(@)", varargs, ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleTable(): cstring {.importjs: "inspector.console.table()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleTrace(args: auto): cstring {. importjs: "inspector.console.trace(@)", varargs, ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func inspectorConsoleWarn(args: auto): cstring {. importjs: "inspector.console.warn(@)", varargs, ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_console
func newSession(): InspectorSession {.importjs: "new inspector.Session()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_class_inspector_session
func open(): cstring {.importjs: "inspector.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_open_port_host_wait
func open(port: cint): cstring {.importjs: "inspector.$1(#)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_open_port_host_wait
func open(port: cint; host: cstring; wait = false): cstring {. importjs: "inspector.$1(#, #, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_open_port_host_wait
func post(self: InspectorSession; metod: cstring; params: JsObject) {. importjs: "#.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_session_post_method_params_callback
func requireInspector() {.importjs: "const inspector = require(\'inspector\')@", ...raises: [], tags: [].}
- Alias for const module_name = require('module_name');. Must be called once before using the module
func toCstring(self: InspectorSession): cstring {.importjs: "JSON.stringify(#)", ...raises: [], tags: [].}
func url(): cstring {.importjs: "inspector.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_url
func waitForDebugger() {.importjs: "inspector.$1()", ...raises: [], tags: [].}
- https://nodejs.org/api/inspector.html#inspector_inspector_waitfordebugger