Debugging is not working when project has nsconfig.json and the path to app directory is changed. The problem is that on device the directory is always called app, but NativeScript projects can rename it locally to src for example.
In order to fix the issue, check if there's nsconfig.json file and replace the app from the device path with the local name of the app directory.
Debugging is not working when project has
nsconfig.json
and the path toapp
directory is changed. The problem is that on device the directory is always calledapp
, but NativeScript projects can rename it locally tosrc
for example. In order to fix the issue, check if there's nsconfig.json file and replace theapp
from the device path with the local name of the app directory.This fixes debugging for new Angular templates.
Fix for https://github.com/NativeScript/nativescript-vscode-extension/issues/205