Closed rosen-vladimirov closed 6 years ago
Scenarios that should be tested on both iOS and Android:
app
nsconfig.json
, but there's no appPath property in it.nsconfig.json
with appPath set to different dir, for example "src" and ensure you've renamed "app" dir to "src".nsconfig.json
. Stop the debugging. Add nsconfig.json
, add "appPath" property in it, rename the "app" directory. Start the debugging again.
NativeScript CLI allows you to change the name of the
app
directory in the project by adding ansconfig.json
with the following content:After that you can safely rename the
app
dir tosrc
and CLI will build the project and livesync and debug will still work. However, debugging in VSCode is not working as the mapping between files on device and the local paths is not correct.This breaks debugging of newly created NativeScript Angular projects (
tns create myapp --ng
), which already have nsconfig.json and havesrc
dir instead ofapp
.