diff --git a/src/DotNet.Meteor.Debug/Agents/DebugLaunchAgent.cs b/src/DotNet.Meteor.Debug/Agents/DebugLaunchAgent.cs index f00ec3e..1b75ac8 100644 --- a/src/DotNet.Meteor.Debug/Agents/DebugLaunchAgent.cs +++ b/src/DotNet.Meteor.Debug/Agents/DebugLaunchAgent.cs @@ -66,7 +66,7 @@ private void LaunchAppleMobile(DebugSession debugSession) { Disposables.Add(() => debugProxyProcess.Terminate()); IDeviceTool.Installer(Configuration.Device.Serial, Configuration.ProgramPath, debugSession); - debugSession.OnImportantDataReceived("Application installed on device. Please tap on the app icon to run it."); + debugSession.OnImportantDataReceived("Application installed on device. Tap the application icon on your device to run it."); } } private void LaunchMacCatalyst(IProcessLogger logger) { diff --git a/src/DotNet.Meteor.Debug/Agents/NoDebugLaunchAgent.cs b/src/DotNet.Meteor.Debug/Agents/NoDebugLaunchAgent.cs index 07ad3b7..a82a0fa 100644 --- a/src/DotNet.Meteor.Debug/Agents/NoDebugLaunchAgent.cs +++ b/src/DotNet.Meteor.Debug/Agents/NoDebugLaunchAgent.cs @@ -37,7 +37,7 @@ private void LaunchAppleMobile(DebugSession debugSession) { var forwardingProcess = IDeviceTool.Proxy(Configuration.Device.Serial, Configuration.ReloadHostPort, debugSession); Disposables.Add(() => forwardingProcess.Terminate()); IDeviceTool.Installer(Configuration.Device.Serial, Configuration.ProgramPath, debugSession); - debugSession.OnImportantDataReceived("Application installed on device. Please tap on the app icon to run it."); + debugSession.OnImportantDataReceived("Application installed on device. Tap the application icon on your device to run it."); } } private void LaunchMacCatalyst(IProcessLogger logger) { diff --git a/src/VSCode.Extension/features/modulesView.ts b/src/VSCode.Extension/features/modulesView.ts index aa16c74..69b96f6 100644 --- a/src/VSCode.Extension/features/modulesView.ts +++ b/src/VSCode.Extension/features/modulesView.ts @@ -57,13 +57,16 @@ export class ModulesView implements TreeDataProvider, DebugAdapterTrackerFa const treeView = this; return { onDidSendMessage(message: any) { - if (message.type != 'event' || message.event != 'module') + if (message.type != 'event') return; - if (message.body.reason != 'new') - return; - - treeView.loadedModules.push(message.body.module); - treeView.treeViewDataChangedEmitter.fire(null); + + if (message.event == 'module' && message.body.reason == 'new') { + treeView.loadedModules.push(message.body.module); + treeView.treeViewDataChangedEmitter.fire(null); + } + if (message.event == 'output' && message.body.category == 'important') { + vscode.window.showInformationMessage(message.body.output, { modal: true }); + } }, onWillStopSession() { treeView.loadedModules = [];