Debugging

Last Updated: 05 May 2021

Enable Debug from Firebase SDK Plugin

  1. Go to Firebase SDK Plugin Properties

2. Enable Debug

It is recommended to turn this feature off when exporting for the final/public release of your app.


Open up the JavaScript Console

METHOD 1: Using Browser DevTools

The JavaScript Console is located in the Developer Tools of your browser.

During preview, click on your Preview window, and then simply Press F12 and Go to the "Console" Tab.

METHOD 2: Using Eruda Console Plugin

Simply add Eruda Console Plugin to your Project to start Debugging. Disable Worker Mode for this to work. (Go to Project Properties > Advanced > "Use Worker": "No")

Plugin Link: https://www.construct.net/en/make-games/addons/551/eruda-console-no-worker

(This plugin also works on Android and iOS)

Color Code of Debug Logs

General


Firebase Realtime-Database Plugin: Read


Firebase Realtime-Database Plugin: Write


Firebase Plugin Errors