NativeScript / nx

NativeScript for Nx.
Other
61 stars 15 forks source link

Can't debug app via Chrome - Crashes the app #36

Open jigsawmegs opened 2 years ago

jigsawmegs commented 2 years ago

Can't debug app via Chrome.

Create a new app with npx nx g @nativescript/nx:app test --groupByName

run: npx nx run test-nativescript:ios

App starts in iOS emulator -works fine Try to connect from Chrome via: devtools://devtools/bundled/inspector.html?ws=localhost:41000

App then crashes and Chrome says "Debugging connection was closed" Terminal shows: Backend socket closed! Frontend socket closed!

Using "webpack": "^5.40.0" (also latest tried 5.43.0) "@nativescript/webpack": "5.0.0"

fpaaske commented 1 year ago

This will also happen for me, but only after I interact with the developer tools, for example when selecting a REST request in the network tab.