Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .vscode with a launch configuration for debugging #102

Open
SamiMitwalli opened this issue Jul 5, 2023 · 0 comments
Open

Add .vscode with a launch configuration for debugging #102

SamiMitwalli opened this issue Jul 5, 2023 · 0 comments

Comments

@SamiMitwalli
Copy link

SamiMitwalli commented Jul 5, 2023

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"
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant