File tree 1 file changed +4
-4
lines changed
test-app/app/src/main/java/com/tns
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public final class RuntimeHelper {
23
23
private RuntimeHelper () {
24
24
}
25
25
26
- // private static AndroidJsV8Inspector v8Inspector;
26
+ private static AndroidJsV8Inspector v8Inspector ;
27
27
28
28
// hasErrorIntent tells you if there was an event (with an uncaught
29
29
// exception) raised from ErrorReport
@@ -151,8 +151,8 @@ public static Runtime initRuntime(Context context) {
151
151
runtime = Runtime .initializeRuntimeWithConfiguration (config );
152
152
if (isDebuggable ) {
153
153
try {
154
- // v8Inspector = new AndroidJsV8Inspector(context.getFilesDir().getAbsolutePath(), context.getPackageName());
155
- // v8Inspector.start();
154
+ v8Inspector = new AndroidJsV8Inspector (context .getFilesDir ().getAbsolutePath (), context .getPackageName ());
155
+ v8Inspector .start ();
156
156
157
157
// the following snippet is used as means to notify the VSCode extension
158
158
// debugger that the debugger agent has started
@@ -176,7 +176,7 @@ public static Runtime initRuntime(Context context) {
176
176
shouldBreak = true ;
177
177
}
178
178
179
- // v8Inspector.waitForDebugger(shouldBreak);
179
+ v8Inspector .waitForDebugger (shouldBreak );
180
180
} catch (IOException e ) {
181
181
if (Util .isDebuggableApp (context )) {
182
182
e .printStackTrace ();
You can’t perform that action at this time.
0 commit comments