Skip to content

Commit 338b9a3

Browse files
committed
Add LLDB with SOS via tools/debug.sh note to debugging docs
1 parent 1129456 commit 338b9a3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docs/debugging/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,19 @@ Trace-Command -Expression { Get-ChildItem . } -Name PathResolution -PSHost
9898
The `-PSHost` specifies the sink, in this case the console host, so we can see
9999
the tracing messages.
100100

101+
LLDB with SOS plugin
102+
====================
103+
104+
The `./tools/debug.sh` script can be used to launch PowerShell inside of LLDB
105+
with the SOS plugin provided by .NET Core. This provides an additional way to
106+
debug PowerShell on Linux, but VS Code is recommended for a better user
107+
experience (and its single-stepping capabilities).
108+
109+
The script is self-documented and contains a link to the
110+
[CoreCLR debugging help][clr-debug] .
111+
112+
[clr-debug]: https://github.com/dotnet/coreclr/blob/master/Documentation/building/debugging-instructions.md#debugging-coreclr-on-linux
113+
101114
corehost
102115
========
103116

0 commit comments

Comments
 (0)