Debug a Hybrid Mobile Application

Last update: Edit

1 Introduction

This how-to explains the steps involved in debugging a Mendix application that is running in the Mendix Developer App on your mobile phone.

This how-to will teach you how to do the following:

  • Debug a mobile application

2 Prerequisites

Before starting this how-to, make sure you have completed the following prerequisites:

  • Install weinre
  • Install the Mendix Developer App on your mobile device

3 Start weinre

From your console, start weinre with the following parameters: weinre --boundHost --httpPort 9090:

  • is your local IP, which will most probably match the address that you see in the history of your Mendix Developer App
  • You can change 9090 to a different port as long as it doesn’t clash with your application’s port, which is usually 8080

4 Connect Your Mendix Developer App

Click the settings icon in the top-right corner of the screen to configure your debugger:

On the configure screen, fill in the same settings that you used to start weinre, which should be (wherein is your local IP).

You can now navigate to the same address on your local browser to start the debugging session.

5 Read More