Setting the debug level for the MobileFirst Studio plug-in in Eclipse

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:
Important: To use this function, you must have installed the IBM MobileFirst Studio plug-in as explained in Integrating the MobileFirst Studio plug-in to manage a Cordova project in Eclipse.

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

  1. In your Eclipse development interface, select Window > Preferences. This mode displays verbose debug logs so you can view them in the Eclipse console window while you are previewing the app.
  2. Select MobileFirst Studio Plugins.
  3. Ensure that Enable debug mode is selected.
  4. 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.