Exposes the internal debugger. [EngineDebugger] handles the communication between the editor and the running game. It is active in the running game. Messages can be sent/received through it. It also manages the profilers. Clears all breakpoints. Starts a debug break in script execution, optionally specifying whether the program can continue based on [param can_continue] and whether the break was due to a breakpoint. Returns the current debug depth. Returns the number of lines that remain. Returns [code]true[/code] if a capture with the given name is present otherwise [code]false[/code]. Returns [code]true[/code] if a profiler with the given name is present otherwise [code]false[/code]. Inserts a new breakpoint with the given [param source] and [param line]. Returns [code]true[/code] if the debugger is active otherwise [code]false[/code]. Returns [code]true[/code] if the given [param source] and [param line] represent an existing breakpoint. Returns [code]true[/code] if a profiler with the given name is present and active otherwise [code]false[/code]. Returns [code]true[/code] if the debugger is skipping breakpoints otherwise [code]false[/code]. Forces a processing loop of debugger events. The purpose of this method is just processing events every now and then when the script might get too busy, so that bugs like infinite loops can be caught Calls the [code]add[/code] callable of the profiler with given [param name] and [param data]. Calls the [code]toggle[/code] callable of the profiler with given [param name] and [param arguments]. Enables/Disables the same profiler depending on [param enable] argument. Registers a message capture with given [param name]. If [param name] is "my_message" then messages starting with "my_message:" will be called with the given callable. Callable must accept a message string and a data array as argument. If the message and data are valid then callable must return [code]true[/code] otherwise [code]false[/code]. Registers a profiler with the given [param name]. See [EngineProfiler] for more information. Removes a breakpoint with the given [param source] and [param line]. Starts a debug break in script execution, optionally specifying whether the program can continue based on [param can_continue] and whether the break was due to a breakpoint. Sends a message with given [param message] and [param data] array. Sets the current debugging depth. Sets the current debugging lines that remain. Unregisters the message capture with given [param name]. Unregisters a profiler with given [param name].