Skip to content

Commit b706d01

Browse files
committed
enable debug logging
1 parent 89a106c commit b706d01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo-react/src/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22

33
/* Controls react-nativescript log verbosity. true: all logs; false: only error logs. */
4-
Object.defineProperty(global, '__DEV__', { value: false });
4+
Object.defineProperty(global, '__DEV__', { value: true });
55

66
/*
77
In NativeScript, the app.ts file is the entry point to your application.
@@ -13,7 +13,7 @@ import * as ReactNativeScript from 'react-nativescript';
1313
import { ExampleTabs as AppContainer } from './components/HomeScreen';
1414
import { registerTabs } from '@nativescript-community/ui-material-tabs/react';
1515

16-
registerTabs();
16+
registerTabs({ enableDebugLogging: true });
1717
ReactNativeScript.start(React.createElement(AppContainer, {}, null));
1818

1919
/*

0 commit comments

Comments
 (0)