SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Debug Your SAPUI5 App

Debugging and logging are the nut and bolts to inspect your application. Learn how to debug and test your web apps with the Google Chrome Dev Tools.

Overview

You will learn

  • How to do add breakpoints to your JavaScript code.
  • How to log data to the browser console.
  • How to use the browser dev tools.
Nico Schoenteich N Nico Schoenteich August 27, 2026
Created on May 2, 2019
Contributors

More from Nico Schoenteich

See all 11 tutorials by Nico Schoenteich →

Prerequisites

Prerequisites

Steps

Step 1 Add a message page

Add a simple message page to let the users know you are still working on this app.

Replace the existing <Page /> control in the file myui5app/webapp/view/MainView.view.xml with the following code:

XML
<MessagePage
    showHeader="false"
    description="More content to come"
    text="Stay tuned!"
    icon="sap-icon://home" />

Tip: You can put your editor window and browser window right next to each other to benefit from the live reload feature of the web server even more.

message
message

Step 2 Write a log message to the console
+
Step 3 Add a breakpoint
+
Step 4 Stop at the breakpoint
+
Step 5 See the error log message
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Add a message page 2. Write a log message to the console 3. Add a breakpoint 4. Stop at the breakpoint 5. See the error log message
Next