Console.log not working in Tizen Web Application Debug Mode

Original Created Aug 17, 2016 | Regeneration Apr 22, 2026

When running my Tizen web application in standard mode, I receive the following message in the console debug window: "The web console logging API (console.log, console.info, console.warn, console.error) has been disabled. To activate it, you should launch project with Debug mode."

When I try to debug by right-clicking my web app project and selecting "Debug As Tizen Web App", I get an error: "Cannot launch application with GDBServer. The application (63AW5BxMWn) is not running on emulator-26101"

The console shows: "setDebugConfigAttributes> isIme? false [Running the application with GDBServer...] GNU gdbserver (GDB) 7.8.1 Copyright (C) 2014 Free Software Foundation, Inc. gdbserver is free software, covered by the GNU General Public License. This gdbserver was configured as "i386-linux-gnueabi" 0"

Interestingly, I can see console.log output in the web inspector. Is this the expected behavior?

Problem Understanding

The issue occurs when trying to debug a Tizen web application. Console logging is disabled in standard run mode, and attempting to debug results in a GDBServer error while running on an emulator.

Solution Methods

  1. Enable Debug Mode Properly:

    • Right-click your project
    • Select "Debug As" > "Debug Configurations"
    • Create a new launch configuration if one doesn't exist
    • Ensure the timeout value is set appropriately (higher for lower-spec systems)
  2. Alternative Debugging Methods:

    • Use the Web Inspector tool for JavaScript debugging
    • Connect a physical Tizen device for more reliable debugging
    • Verify Chrome is installed as it's required for Web Inspector
  3. Troubleshooting GDBServer Errors:

    • Check if the emulator is properly running
    • Verify the application ID matches between your project and the emulator
    • Consider increasing the debug timeout value

Additional Tips

  • The Web Inspector provides comprehensive debugging capabilities including:
    • Style inspection
    • DOM inspection
    • Resource inspection
    • JavaScript debugging
  • Remember that console logging methods (log, info, warn, error, debug) are color-coded in the debug output
  • For physical devices, Samsung's Tizen-based devices (like Z series) are recommended for development

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.