How to: Use the App's Debug Console

Here's how you can view logs, execute JavaScript and more using your app's developer console.

Posted on 16. July 2025 by Jan Bunk

If you're a web developer, you're probably familiar with the browser's developer tools:

Desktop browser developer tools showing the Elements panel and CSS styles.

It's probably the most important tool for debugging errors on your website.

Apps created with webtoapp.design usually work out of the box. At least they behave mostly identically to how your website behaves in Chrome on Android and Safari on iOS. So if your website works fine there, you shouldn't encounter too many issues.

However, occasionally you might still feel the need to investigate some unexpected behaviour in your app. For cases like that, you can open your app's built-in console.

How to Open the Console

Opening the console is intentionally hidden, so regular app users don't accidentally open it and get confused. But even if they do stumble upon it, they can just close and re-open their app to get rid of it.

Opening the Console from the Settings Screen

  1. Start by opening the settings of your app.
  2. Click the "About" card. App settings screen with the About APP-NAME card above Delete Data.
  3. Double-tap the small image in the dialog to open the developer console. About APP-NAME dialog with the small app icon beside its title.
  4. You can now close the dialog and settings and use the console while browsing your app. Built-in app console below the website, with Close, Open URL and Run JS controls.

Opening the Console from the Error Reporting Dialog

If your app has no way to access the settings, you can also open the console through the diagnostic information dialog:

  1. Open the error reporting dialog by shaking your device.
  2. Double-tap the title of the dialog. Error reporting dialog headed Did you find a problem in the app?
  3. You can now close the dialog and use the console while browsing your app.

Features of the App's Console

Open URL

Open any website by entering the URL in the dialog. This can be useful to navigate to secret (there's no link to it on the main website) test pages or staging environments that you might have.

Run JS

This feature executes any JavaScript you enter and prints the result in the console.

Add Eruda

This adds a small button which opens the Eruda JavaScript console for the current page you are viewing. It provides almost all features that you know from the browser console on your computer, for example the DOM tree elements explorer. You can read more about Eruda in its GitHub project.

Keep in mind that Eruda works entirely through JavaScript, which has some limitations. For example its cookie inspector can only show cookies that are accessible through JavaScript (i.e. not marked as HttpOnly).
Eruda developer console showing the page's HTML in its Elements panel.

Copy Log

Since the logged messages can be a bit difficult to read and analyze, you can use this button to copy all the logged text so you can paste it wherever you want. For example you could send it to your computer where you might have a better text editor.