forked from LedgerHQ/ledger-live
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[support] Provide VSCode configs to debug Electron main and renderer …
…threads (LedgerHQ#1958) * Remove .vscode folder from git ignored * VSCode default debug configs for Electron main and renderer * Update LLD README * Safer .gitignore rules to specifically allow launch.json only
- Loading branch information
Hakim
authored
Nov 25, 2022
1 parent
cafbd5d
commit d5bc651
Showing
3 changed files
with
35 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules | ||
.turbo | ||
.vscode | ||
!.vscode/launch.json | ||
.pnpm-* | ||
/temp | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
// Start LLD with: | ||
//ELECTRON_ARGS=--remote-debugging-port=8315 pnpm dev:lld | ||
"name": "Attach Electron Renderer", | ||
"type": "chrome", | ||
"request": "attach", | ||
"port": 8315 | ||
}, | ||
{ | ||
// Start LLD with: | ||
//LEDGER_INTERNAL_ARGS=--inspect pnpm dev:lld | ||
"name": "Attach Electron Main", | ||
"type": "node", | ||
"request": "attach", | ||
"skipFiles": ["<node_internals>/**"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters