How to debug code sharing


I have followed code sharing topic:
It works fine.

But I can not debug the code.
I am using visual studio code.
Debug with: Attach on Ios, or launch Chrome is not working.
Any idea?


Oke, I found the solution myself:
In the Launch.json use the tnsArgs.
Now it is working
“name”: “Launch on iOS”,
“type”: “nativescript”,
“request”: “launch”,
“platform”: “ios”,
“appRoot”: “{workspaceRoot}", "sourceMaps": true, "watch": true, "sourceMapPathOverrides": { "webpack:///*": "{workspaceRoot}/src/*”