From c0c4a23e622288b889ac17ff8a0f580f7a7b11c2 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 11 May 2020 15:40:27 -0400 Subject: [PATCH] docs: Add info to debug using MS Edge --- .../DebuggingProxy/DebugHostExtensions.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Uno.Wasm.Bootstrap.Cli/DebuggingProxy/DebugHostExtensions.cs b/src/Uno.Wasm.Bootstrap.Cli/DebuggingProxy/DebugHostExtensions.cs index f29f229ea..c0c204c80 100644 --- a/src/Uno.Wasm.Bootstrap.Cli/DebuggingProxy/DebugHostExtensions.cs +++ b/src/Uno.Wasm.Bootstrap.Cli/DebuggingProxy/DebugHostExtensions.cs @@ -148,10 +148,13 @@ private static string GetLaunchChromeInstructions(string appRootUrl) { if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { - return $@"

Close all Chrome instances, then press Win+R and enter the following:

-

""%programfiles(x86)%\Google\Chrome\Application\chrome.exe"" --remote-debugging-port=9222 {appRootUrl}

-

You can also force to start an isolated instance of Chrome if you are already using it for another purpose:

-

""%programfiles(x86)%\Google\Chrome\Application\chrome.exe"" --remote-debugging-port=9222 {appRootUrl} --user-data-dir=""%TEMP%\ChromeDebug""

"; + return $@"

Close all browser instances, then restart it with the debug server enabled. Press Win+R and enter the following:

+

Google Chrome

+

taskkill /IM chrome* /F /T
""%programfiles(x86)%\Google\Chrome\Application\chrome.exe"" --remote-debugging-port=9222 {appRootUrl}

+

Or with an isolated profile: ""%programfiles(x86)%\Google\Chrome\Application\chrome.exe"" --remote-debugging-port=9222 --user-data-dir=""%TEMP%\ChromeDebug"" {appRootUrl}

+

Microsoft Edge (Chromium)

+

taskkill /IM msedge* /F /T
""%programfiles(x86)%\Microsoft\Edge Dev\Application\msedge.exe"" --remote-debugging-port=9222 {appRootUrl}

+

Or with an isolated profile: ""%programfiles(x86)%\Microsoft\Edge Dev\Application\msedge.exe"" --remote-debugging-port=9222 --user-data-dir=""%TEMP%\EdgeDebug"" {appRootUrl}

"; } else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) {