- Notifications
You must be signed in to change notification settings - Fork 32
Description
On a brand new fresh project generated from a brand new install of SideKick (using the Angular tabbed template), if I add the appropriate "tnsArgs":["--bundle"] into launch.json then and run "Launch on Android", VS Code fails to hit any breakpoints, and breakpoints are greyed out, marked as an "Unverified breakpoint".
I can confirm my web.config.js is unchanged from the template, including having the correct devtool: sourceMap ? "inline-source-map" : "none".
If I put debugger; in my code and run, it is hit, but in a separate window to the original source code.
My set up:
Windows - 10
NativeScript - 4.2.4
VS Code - 1.27.2
nativescript-dev-webpack - 0.16.0
Is there anything I can try to get them working? As I understand, debugging webpacked NS in VS Code is supported (according to: https://docs.nativescript.org/tooling/visual-studio-code-extension#debug-webpack).
Many thanks