ns-trace-debugging
Installation
SKILL.md
Trace: turning on the framework's own diagnostics
@nativescript/core logs rich internals — binding failures, layout passes, navigation, native lifecycle — but only when you enable BOTH the switch and the categories:
import { Trace } from '@nativescript/core';
Trace.enable(); // step 1 — alone this prints NOTHING
Trace.addCategories(
Trace.categories.concat( // step 2 — pick categories
Trace.categories.Binding,
'BindingError', // see the All caveat below
Trace.categories.Layout,
Trace.categories.Navigation,
),
);
The full category list: Accessibility, VisualTreeEvents, Layout, Style, ViewHierarchy, NativeLifecycle, Debug, Navigation, Test, Binding, BindingError, Error, Animation, Transition, Livesync, ModuleNameResolver, MediaQuery.