cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDK VS Code Debugging

0 Kudos

Hello Friends,

I have referred this blog to build MDK Client and VS Code setup.

But when I try to debug Mdk project on vs code, I can successfully launched app on emulator but unable to debug.

I'm facing the issue related to Chrome as i highlighted in below image. Can you please help here....

"To start debugging, open the following URL in Chrome: chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:40000"

View Entire Topic
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

shreekishan

Did you set the appRoot path in launch.json file or VSC preferences? Please look at our new documentation.

0 Kudos

Yeah jitendrakumar.kansal,

I did that.

ashishjain14
Employee
Employee

Ideally than it should have worked, may be as an alternative can you try the attach option and see if that helps.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

shreekishan

can you share the complete path assigned in appRoot ? Last part was not captured in your screenshot.

0 Kudos

Yeah jitendrakumar.kansal

The Path is \.....\MDKClient_SDK\App Name (Custom Client Folder),

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

What is MDK SDK version you are using?

Can you try the following:

1. Execute create-client.cmd in window command prompt (outside of VSC)

2. set the appRoot in "MDK Attach on Android" section in launch.json

3. In VSC, at top left, select "MDK Launch on Android" from the dropdown and Run