From 338b9a3462d011eef125b6841a762ef3b69069db Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 6 Jun 2016 12:20:28 -0700 Subject: [PATCH] Add LLDB with SOS via tools/debug.sh note to debugging docs --- docs/debugging/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/debugging/README.md b/docs/debugging/README.md index 531393baaf..ff0b681da3 100644 --- a/docs/debugging/README.md +++ b/docs/debugging/README.md @@ -98,6 +98,19 @@ Trace-Command -Expression { Get-ChildItem . } -Name PathResolution -PSHost The `-PSHost` specifies the sink, in this case the console host, so we can see the tracing messages. +LLDB with SOS plugin +==================== + +The `./tools/debug.sh` script can be used to launch PowerShell inside of LLDB +with the SOS plugin provided by .NET Core. This provides an additional way to +debug PowerShell on Linux, but VS Code is recommended for a better user +experience (and its single-stepping capabilities). + +The script is self-documented and contains a link to the +[CoreCLR debugging help][clr-debug] . + +[clr-debug]: https://github.com/dotnet/coreclr/blob/master/Documentation/building/debugging-instructions.md#debugging-coreclr-on-linux + corehost ========