NativeScript / nativescript-plugin-seed

Get started building NativeScript plugins quickly.
Apache License 2.0
102 stars 54 forks source link

Breakpoints in the plugin are not hit #139

Closed adrian-niculescu closed 5 years ago

adrian-niculescu commented 5 years ago

Tools used: NativeScript: 5.4.0 NativeScript Extension for Visual Studio Code: 0.10.0

Create a plugin using this plugin seed, with a TypeScript demo.

The plugin code (src/) cannot be debugged using breakpoints since the addition of the "bundle workflow". This seems to be a Webpack configuration issue.

VladimirAmiorkov commented 5 years ago

Hi @adrian-niculescu ,

Thank you for reporting this to us. Can you try to switch back to the legacy workflow that does not trigger --bundle and let us know if the break points are hit?

adrian-niculescu commented 5 years ago

With

{
  "useLegacyWorkflow": true
}

it still does not work.

I switched back to what I was using before: The 5.1.0 release of this plugin seed with nativescript 5.3.0. Breakpoints work as expected.

VladimirAmiorkov commented 5 years ago

After revising this this with NativeScript 6.0.0 all break points are hit correctly.