$ [sudo] npm install @melonjs/debug-plugin
Then import and instantiante the debug plugin in your project. For example:
import { utils, plugin } from 'melonjs'; // dynamically import the plugin import("@melonjs/debug-plugin").then((debugPlugin) => { // automatically register the debug panel utils.function.defer(plugin.register, this, debugPlugin.DebugPanelPlugin, "debugPanel"); });
The Debug Panel is hidden by default and can be displayed using the S
key, it will then provide the below information :
Note: Heap information requires starting Chrome with
--enable-precise-memory-info
Additionally, using the checkbox in the panel it is also possible to draw :
If you need technical support, you can contact us through the following channels :
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4