With the IBM MobileFirst™ Studio plug-in, you can view the log output information
for your Cordova project in the Eclipse console and control the amount
of information that is displayed.
Before you begin
Be sure that you have the following prerequisites before you
start the procedure:
- A Mars Java™ EE version of
Eclipse, or later, with the IBM
MobileFirst Studio plug-in installed.
- Java JRE version 7, or later.
- Node.js version 4.x, or later.
- The Cordova command-line interface, version 6.1.1, or later.
- The IBM MobileFirst Platform
Command Line Interface (CLI).
- An internet connection.
- A Cordova project that has the cordova-plugin-mfp plug-in
installed.
About this task
You can select to display either the normal log messages
in the Eclipse console, or more verbose messaging that can help you
isolate a problem. Because of the amount of detail that is provided
when verbose debug mode is on, activate this mode only when you are
troubleshooting a problem. To change the setting, complete the following
steps:
Procedure
- In your Eclipse development interface, select . This mode displays verbose debug logs so
you can view them in the Eclipse console window while you are previewing
the app.
- Select MobileFirst Studio Plugins.
- Ensure that Enable debug mode is
selected.
- Apply the changes, and click OK. The verbose log messages are displayed in the Eclipse
console.
Results
If selected, the debug mode is set to display verbose messages
in the Eclipse console. If not selected, standard logging messages
are displayed.