SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Debug Your Mobile Development Kit Application

Learn how to effectively troubleshoot and resolve issues in your mobile development kit (MDK) application through comprehensive debugging techniques.

Overview

🎓 intermediate 30 min. Mobile Development Kit ClientIntermediateIosAndroidMobileSAP Business Technology PlatformSAP Mobile ServicesSAP Build CodeSAP BuildSAP Business Application Studio

You will learn

  • โœ”How to install MDK Extension in Visual Studio Code
  • โœ”How to generate a debug configuration file
  • โœ”How to set breakpoints in a rule
  • โœ”How to use the debug console
Jitendra Kansal J Jitendra Kansal July 9, 2026
Created by May 28, 2024
Contributors

Prerequisites

Prerequisites

Steps

Intro

Use the debugging feature provided by the mobile development kit extension for Visual Studio Code to debug your MDK app after bundling it. You can set breakpoints, inspect scope variables, watch expressions, or execute JavaScript code in the rule files.


Step 1 Create a New Project Using SAP Build and Configure it using Storyboard
โ€”

  1. This step includes creating the mobile development kit project in the editor. Follow steps 1 and 2 from this tutorial to create your MDK project and deploy to mobile services.

  2. Close the onboarding QR code window, as it is not needed for this tutorial.

Step 2 Download your MDK metadata project from SAP Business Application Studio
+
Step 3 Create and run MDK client
+
Step 4 Install MDK Extension in Visual Studio Code
+
Step 5 Open the MDK metadata project in VS Code
+
Step 6 Create and Configure your launch.json
+
Step 7 Attach the debugger to your MDK Client
+
Step 8 Set Breakpoints in a rule
+
Step 9 Use Debug Console
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 9
1. Create a New Project Using SAP Build and Configure it using Storyboard 2. Download your MDK metadata project from SAP Business Application Studio 3. Create and run MDK client 4. Install MDK Extension in Visual Studio Code 5. Open the MDK metadata project in VS Code 6. Create and Configure your launch.json 7. Attach the debugger to your MDK Client 8. Set Breakpoints in a rule 9. Use Debug Console

Learn more →