Browse Source

fix: .lldbinit config stale (unavailable) (#31158)

Co-authored-by: Black-Hole1 <[email protected]>
trop[bot] 3 years ago
parent
commit
da132e0289
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/development/debugging-instructions-macos.md

+ 3 - 1
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