Skip to content

Commit d285131

Browse files
committed
Merge pull request #200 from Microsoft/improve-debugging-log
Improve launch debug logs
2 parents c26bd6a + 88dd805 commit d285131

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/debugger/launcher.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,17 @@ export class Launcher {
5050
// and the user needs to Reload JS manually. We prewarm it to prevent that issue
5151
.then(() => {
5252
generator.step("prewarmBundleCache");
53+
Log.logMessage("Prewarming bundle cache. This may take a while ...");
5354
return extensionMessageSender.sendMessage(em.ExtensionMessage.PREWARM_BUNDLE_CACHE, [runOptions.platform]);
5455
})
5556
.then(() => {
5657
generator.step("mobilePlatform.runApp");
58+
Log.logMessage("Building and running application.");
5759
return mobilePlatform.runApp(runOptions);
5860
})
5961
.then(() => {
6062
generator.step("Starting App Worker");
63+
Log.logMessage("Starting debugger app worker.");
6164
return new MultipleLifetimesAppWorker(sourcesStoragePath, runOptions.debugAdapterPort).start();
6265
}) // Start the app worker
6366
.then(() => {
@@ -88,4 +91,4 @@ export class Launcher {
8891

8992
return result;
9093
}
91-
}
94+
}

0 commit comments

Comments
 (0)