If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
Debug a Hybrid Mobile Application
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 teaches you how to do the following:
- Debug a mobile application
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
Start weinre
From your console, start weinre with the following parameters: weinre --boundHost 1.2.3.4 --httpPort 9090
:
1.2.3.4
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
Connect Your Mendix Developer App
Click Settings () on the upper-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 http://1.2.3.4:9090
(wherein 1.2.3.4
is your local IP).
You can now navigate to the same address on your local browser to start the debugging session.