I don't see any errors when starting debugging. The logs end with the message:
Successfully synced application org.nativescript.t5 on device emulator-5554.
[NSDebugAdapter] Ready to attach to application on 40002
If I run chrome, debugging works in it.
r:\>ns doctor
√ Getting environment information
No issues were detected.
√ Your ANDROID_HOME environment variable is set and points to correct directory.
√ Your adb from the Android SDK is correctly installed.
√ The Android SDK is installed.
√ A compatible Android SDK for compilation is found.
√ Javac is installed and is configured properly.
√ The Java Development Kit (JDK) is installed and is configured properly.
√ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
√ Getting NativeScript components versions information...
√ Component nativescript has 8.0.2 version and is up to date.
r:\>ns create t6 --js
> @nativescript/core@8.0.8 postinstall r:\t6\node_modules\@nativescript\core
> node cli-hooks/postinstall.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN ts-loader@9.2.3 requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
added 381 packages from 266 contributors and audited 382 packages in 10.901s
38 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
[@nativescript/webpack] Initialized config.
Project t6 was successfully created.
Now you can navigate to your project with $ cd t6
After that you can preview it on device by executing $ ns preview
I don't see any errors when starting debugging. The logs end with the message:
If I run chrome, debugging works in it.