NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

Unable to attach from VSCode if there is a running instance on terminal #1254

Closed mbektchiev closed 4 years ago

mbektchiev commented 4 years ago

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug

Unable to attach on iOS from VSCode if there is a running instance on terminal. The app would crash immediately.

The workaround is to stop the running instance from the terminal before attaching.

To Reproduce

  1. Start tns run ios
  2. Start tns debug ios --start from another terminal shell without stopping the 1st command
  3. Open debug URL

=> iOS application crashes

Expected behavior To be able to debug successfully without having to stop the run command

Additional context Support ticket 1453732