forked from Vendicated/Vencord
-
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.
- Loading branch information
1 parent
3b65384
commit 3c8084e
Showing
3 changed files
with
55 additions
and
7 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,3 +1,11 @@ | ||
{ | ||
"recommendations": [ "EditorConfig.EditorConfig" ] | ||
"recommendations": [ | ||
"EditorConfig.EditorConfig", | ||
"pmneo.tsimporter", | ||
"dbaeumer.vscode-eslint", | ||
"formulahendry.auto-rename-tag", | ||
"GregorBiswanger.json2ts", | ||
"eamodio.gitlens", | ||
"kamikillerto.vscode-colorize" | ||
] | ||
} |
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,37 @@ | ||
{ | ||
// this allows you to debug Vencord from VSCode. | ||
// How to use: | ||
// You need to run Discord via the command line to pass some flags to it. | ||
// If you want to debug the main (node.js) process (preload.ts, ipcMain/*, patcher.ts), | ||
// add the --inspect flag | ||
// To debug the renderer (99% of Vencord), add the --remote-debugging-port=9223 flag | ||
// | ||
// Now launch the desired configuration in VSCode and start Discord with the flags. | ||
// For example, to debug both process, run Electron: All then launch Discord with | ||
// discord --remote-debugging-port=9223 --inspect | ||
|
||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Electron: Main", | ||
"type": "node", | ||
"request": "attach", | ||
"port": 9229, | ||
"timeout": 30000 | ||
}, | ||
{ | ||
"name": "Electron: Renderer", | ||
"type": "chrome", | ||
"request": "attach", | ||
"port": 9223, | ||
"timeout": 30000, | ||
"webRoot": "${workspaceFolder}/src" | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Electron: All", | ||
"configurations": ["Electron: Main", "Electron: Renderer"] | ||
} | ||
] | ||
} |
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