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
Before starting this how-to, make sure you have completed the following prerequisites:
- Install weinre
- Install the Mendix Developer App on your mobile device
2 Start weinre
From your console, start weinre with the following parameters:
weinre --boundHost 22.214.171.124 --httpPort 9090:
126.96.36.199is your local IP, which will most probably match the address that you see in the history of your Mendix Developer App
- You can change
9090to a different port as long as it doesn’t clash with your application’s port, which is usually 8080
3 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
188.8.131.52 is your local IP).
You can now navigate to the same address on your local browser to start the debugging session.