Moodle Mobile and debugger breakpoints in vs code

Moodle Mobile and debugger breakpoints in vs code

by hans egon -
Number of replies: 0

Hello,

myabe a year ago, I do not really know the exact version of moodle app, it was possible for me to set breakpoints in the vs code debugger and they were hit when i startet the debugger.

Now this is not possible anymore. Every breakpoint I try is grey after the debugger started.

Do you know what is happening there? Has anyone managed to get working breakpoints in the code?

If yes, can you please post your launch.json settings for cordova?

Here are my launch.jsaon settings:


{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to running Android on emulator",
"type": "cordova",
"request": "attach",
"platform": "android",
"target": "emulator",
"port": 9222,
"sourceMaps": true,
"cwd": "${workspaceFolder}",
}
]
}

In other Ionic projects, no matter if ionic 3, 4 or 5 or lazy loaded pages my breakpoints work great. If there are lazy loaded pages, I have to go there once, and then the breakpoints are hit also. But nothing works in the moodle app.

I would be totally happy if someone could help me here


Average of ratings: -