From 6595bc726e83097b9f79ed1c45b33095f5e48f74 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 28 Sep 2021 09:53:45 +0200 Subject: [PATCH] fix: .lldbinit config stale (unavailable) (#31160) Co-authored-by: Black-Hole1 <158blackhole@gmail.com> --- docs/development/debugging-instructions-macos.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/development/debugging-instructions-macos.md b/docs/development/debugging-instructions-macos.md index d3af2d2a1a28f..e059ac5f972cd 100644 --- a/docs/development/debugging-instructions-macos.md +++ b/docs/development/debugging-instructions-macos.md @@ -26,7 +26,9 @@ you prefer a graphical interface. * **.lldbinit**: Create or edit `~/.lldbinit` to allow Chromium code to be properly source-mapped. ```text - command script import ~/electron/src/tools/lldb/lldbinit.py + # e.g: ['~/electron/src/tools/lldb'] + script sys.path[:0] = ['<...path/to/electron/src/tools/lldb>'] + script import lldbinit ``` ## Attaching to and Debugging Electron