File tree Expand file tree Collapse file tree
test-app/app/src/main/java/com/tns Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public final class RuntimeHelper {
2323 private RuntimeHelper () {
2424 }
2525
26- // private static AndroidJsV8Inspector v8Inspector;
26+ private static AndroidJsV8Inspector v8Inspector ;
2727
2828 // hasErrorIntent tells you if there was an event (with an uncaught
2929 // exception) raised from ErrorReport
@@ -151,8 +151,8 @@ public static Runtime initRuntime(Context context) {
151151 runtime = Runtime .initializeRuntimeWithConfiguration (config );
152152 if (isDebuggable ) {
153153 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 ();
156156
157157 // the following snippet is used as means to notify the VSCode extension
158158 // debugger that the debugger agent has started
@@ -176,7 +176,7 @@ public static Runtime initRuntime(Context context) {
176176 shouldBreak = true ;
177177 }
178178
179- // v8Inspector.waitForDebugger(shouldBreak);
179+ v8Inspector .waitForDebugger (shouldBreak );
180180 } catch (IOException e ) {
181181 if (Util .isDebuggableApp (context )) {
182182 e .printStackTrace ();
You can’t perform that action at this time.
0 commit comments