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

Debugging with nodeenv #211

Open microwavesafe opened 5 years ago

microwavesafe commented 5 years ago

I have read the instructions and it states quite clearly that the extension requires Nativescript to be installed globally. So this is only a request for ideas. My workflow has nodeenv at the heart of it because managing various projects over different lifetimes means it's impossible to keep one global node installation.

It seems to me that there should be a way to simply start the virtual environment and run the commands from there, as long as there was a way to configure it in the launch.json for the extension. Has anyone done something similar?

I really want to start using the advanced debugging this extension gives me, but at the moment I can't see a way around using it with nodeenv. Any ideas?