+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


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

With the IBM MobileFirstâ„¢ Studio plug-in, we can view the log output information for our 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, we 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.

We 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 we 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.

Parent topic: IBM MobileFirst Studio plug-in for managing Cordova projects in Eclipse