[Debugging] Break points in platform specific files and/or symlink files in node_modules
are not hit with "@next" version
#252
Labels
node_modules
are not hit with "@next" version
#252
Environment
Describe the bug
First scenario:
After installing the
@next
when using VS Code to either Attach to iOS or Lunch on iOS any break points placed in a plugin that is using symlink and is in node_modules is not hit.Second scenario:
A different scenario that also does not hit its break points is adding a break point to a non symlink plugin in node_modules but in the platform specific file (.ios.js). In this scenarios a break point in the non platform specific file is hit.
To Reproduce
First scenario:
Using this demo app if you symlink the nativescript-ui-listview code if you place a break point in VS Code in the
createNativeView
in thenode_modules/nativescript-ui-listview/ui-listview.ios.ts
file it will not be hit after you navigate to for example "Getting Started" page. (both breakpoints in platform specific and non platform specific files are not hit)Second scenario:
Using this demo if you place a break point in VS Code at
viewDidLayoutSubviews
in thenode_modules/tns-core-modules/ui/page/page.ios.js
. (only breakpoints in platform specific files are not hit)Expected behavior
Break points in VS Code are hit in both platform specific files and in symlink plugins in node_modules
Sample project
The text was updated successfully, but these errors were encountered: