@nativescript/simdeck-inspector
v0.1.5
Published
Debug-only NativeScript runtime inspector for simdeck
Readme
NativeScript SimDeck Inspector
Debug-only NativeScript runtime agent for simdeck.
npm install @nativescript/simdeck-inspectorimport { startSimDeckInspector } from "@nativescript/simdeck-inspector";
if (__DEV__) {
startSimDeckInspector({
port: 4310,
sourceRoot: "/absolute/path/to/your/app",
});
}The agent connects from the simulator app to:
ws://127.0.0.1:4310/api/inspector/connectIt implements the same inspector methods used by the Swift debug framework:
Inspector.getInfoView.getHierarchyView.getView.listActionsView.performView.getPropertiesView.setProperty
View.getHierarchy returns the NativeScript logical tree by default and falls
back to raw UIKit when called with { "source": "uikit" }.
For Angular NativeScript apps, call startSimDeckInspector() before
runNativeScriptAngularApp(). The package installs a small compatibility shim
for Angular 20 dev-mode template source locations on NativeScript views.
Pass sourceRoot when your framework reports project-relative source paths;
SimDeck will publish absolute sourceLocation.file values for Codex context
and local file:// links in the inspector panel.
