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 a default launch.json file in the default template to ease VSCode debugging #1437

Open
javiertoledo opened this issue Sep 26, 2023 · 2 comments
Assignees
Labels
dev-experience Developer Experience difficulty: low maintainance package:cli Affects the CLI package

Comments

@javiertoledo
Copy link
Member

Feature Request

Add a .vscode/launch.json file to the default project template to ease out-of-the-box debugging in VSCode

This is the configuration we generally use to start a debug session:

{
  "version": "0.2.0",
  "configurations": [
    // Runs npx boost -e local
    {
      "command": "npm run build && npx boost start -e local",
      "name": "Start Debug Server",
      "request": "launch",
      "type": "node-terminal",
      "cwd": "${workspaceFolder}"
    },
  ]
}
@Virajjai
Copy link

Hello, @javiertoledo can i work on this. And could you explain me a bit more about this plz.

@javiertoledo
Copy link
Member Author

Sure @Virajjai.

Here you can find the project template that Booster uses to initialize new projects: https://github.com/boostercloud/booster/tree/main/packages/cli/src/templates/project

The goal of this task is to add a default .vscode/launch.json file like the one suggested in the issue description. This way, new projects generated will include the default launch file, so Booster apps will be automatically runnable with the VSCode debugger :-)

I'll assign you the task, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-experience Developer Experience difficulty: low maintainance package:cli Affects the CLI package
Projects
Status: No status
Development

No branches or pull requests

2 participants