FreedomGPT icon indicating copy to clipboard operation
FreedomGPT copied to clipboard

Add .vscode with a launch configuration for debugging

Open SamiMitwalli opened this issue 2 years ago • 0 comments

Hello,

(I'm unsure about the code of conduct in this project or how to formulate such an issue, so I'll just do it like this, sorry in advance).

I don't know what IDE most people are using in this project, but when inspecting it I noticed that there was no launch configuration for VSCode that could be used (after compiling) to debug the project. So I thought I'd just leave one that I used to identify a bug on my side (just put it inside the root .vscode/launch.json):

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug FreedomGPT",
            "program": "start",
            "request": "launch",
            "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron-forge",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "type": "node"
        }
    ]
}

SamiMitwalli avatar Jul 05 '23 14:07 SamiMitwalli