Closed adrian-niculescu closed 3 months ago
Thanks @adrian-niculescu , this is a known issue that we will resolve in the next release, I hope it will be this week. @rigor789 @farfromrefug , do we have any progress to be able to publish the version?
@vallemar Any update on when the fix for this will be released?
@vallemar Could you update if the fix is already available?
Fixed in v0.12.4
https://github.com/nativescript-community/nativescript-vscode-extension/pull/297
@billfroelich @jitendrakansal
Environment
Result of
echo 'y' | npx nativescript-envinfo
Dependencies
Describe the bug
I let the NativeScript extension create the
.vscode/launch.json
file. Run theLaunch on iOS
configuration . It runs the app successfully, but then it disconnects automatically after ~ 10 seconds for no apparent reason. This replicates with both real devices (iPhone 12, iOS 16.1) and iOS Simulators (iOS 16.4, iOS 17.2). This does not replicate on Android.To Reproduce
Create a simple NativeScript with the CLI
Open the app in Visual Studio Code. Go to
Run and Debug
. Let the NativeScript extension create the.vscode/launch.json
file. Run theLaunch on iOS
configuration.Expected behavior
The debugger should not disconnect after ~ 10 seconds.
Sample project
Sample project
Additional context
The
OUTPUT
window:The
DEBUG CONSOLE
window:Note that this error pops up when using
Launch on Android
too, but the debugger does NOT disconnect there.