Commit 85837fef authored by Shockfire's avatar Shockfire
Browse files

Added a Debugging section to Common Tasks

parent 6bf17809
This documents how to use dew.js to create your own HTML overlays for ElDewrito.
Most functions are located in the [dew namespace](dew.html).
\ No newline at end of file
Most functions are located in the [dew namespace](dew.html).
Check out the [Common Tasks](tutorial-CommonTasks.html) tutorial for quick information on how to get started.
\ No newline at end of file
......@@ -38,6 +38,19 @@ For example, this is what the console screen definition looks like:
}
```
## Debugging
ElDewrito provides a special web debugging mode which you can use to debug screens.
It is activated by default in debug builds, and you can activate it in release builds by passing the `-webdebug` command-line argument to eldorado.exe.
When web debugging mode is active, the following features are enabled:
* CEF log verbosity is turned on.
* The CEF remote debugger will listen on port 8884.
* Pressing F5 will reload all screens.
* Pressing F6 will reload the screen layer completely (intended for editing internal files).
* Pressing F7 will open Chrome and point it to the remote debugger.
## Detecting when your screen is shown or hidden
Make sure to avoid performing any intensive activities while your screen is hidden. Screens are always hidden by default. You can use the `show` and `hide` events to detect when your screen is shown or hidden:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment