SAP

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

Debug Your SAPUI5 App with SAP Business Application Studio

Learn how to run and test your web apps with the SAP Business Application Studio and Google Chrome DevTools.

Overview

You will learn

  • How to add breakpoints to your JavaScript code
  • How to log data to the console
  • How to use the Google Chrome DevTools
Conrad Bernal C Conrad Bernal August 21, 2026
Created on June 30, 2020
Contributors

More from Conrad Bernal

See all 4 tutorials by Conrad Bernal →

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 in the file webapp/view/View1.view.xml with

JavaScript
<mvc:View
    controllerName="sap.btp.sapui5.controller.View1"
    xmlns:mvc="sap.ui.core.mvc"
    displayBlock="true"
    xmlns="sap.m"
>
	<Shell id="shell">
		<App id="app">
			<pages>
				<MessagePage showHeader="false" description="More content to come" text="Stay tuned!" icon="sap-icon://home"/>
			</pages>
		</App>
	</Shell>
</mvc:View>
Step 2 Change the log level
+
Step 3 Write a log message to the console
+
Step 4 Add a breakpoint
+
Step 5 Run the web app
+
Step 6 Stop at the breakpoint
+
Step 7 Check the 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 7
1. Add a message page 2. Change the log level 3. Write a log message to the console 4. Add a breakpoint 5. Run the web app 6. Stop at the breakpoint 7. Check the log message