nativescript-community / nativescript-vscode-extension

A Visual Studio Code Extension for NativeScript
https://www.nativescript.org/visual-studio-code
Apache License 2.0
82 stars 32 forks source link

0.5.0 [Linux] Extension Crashes On Debug #100

Closed rLoka closed 7 years ago

rLoka commented 7 years ago

Hey,

I updated VS extension to the newest version (0.4.5), and since then, I cannot debug or lunch from VS itself, however, I can tns debug or tns livesync normally.

This is the following error: Debug adapter process has terminated unexpectedly

ivanbuhov commented 7 years ago

@rLoka I guess that you mean v0.5.0 (currently it's the latest one). Delete your launch.json file from .vscode folder and regenerate it again. If this doesn't help set diagnsoticLogging flag to true in the debug configuration in launch.json and run it again. Send us the whole output printed in the debugger console.

rLoka commented 7 years ago

There is no output when clicked on "Lunch on Android", just this message. I am working on Ubuntu 16.10. screenshot from 2016-12-08 17-23-49

ivanbuhov commented 7 years ago

@rLoka The issue is fixed in the master branch. We are going to release a hotfix of the extension.

Till then you can use this package: nativescript-0.5.0.vsix.zip which contains the desired fix. To install it:

  1. Extract the .zip containing the .vsix package.
  2. From VS Code Command Pallete run Extensions: Install from VSIX... command (type vsix in the Command Pallete input box to find it) and select the downloaded .vsix package.