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

fix launch.json #6972

Merged
merged 3 commits into from
Nov 28, 2022
Merged

fix launch.json #6972

merged 3 commits into from
Nov 28, 2022

Conversation

adriatic
Copy link
Contributor

There are several different files launch.json - PR addresses the likely most often used one at https://github.com/redwoodjs/redwood/blob/main/packages/create-redwood-app/template/.vscode/launch.json.

I am proposing to remove two arguments

      "protocol": "inspector",
      "stopOnEntry": false,

The first one is illegal in the context it is being used and the second one's default value is false, so it is redundant.

I presented this issue in Discourse hoping to elicit some comments, go nothing so far

Copy link
Contributor

@jtoar jtoar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adriatic, I can reproduce this, and after some searching through VS Code issues I found that protocol has been deprecated per microsoft/vscode#152479 and "stopOnEntry": false is incompatible with "request": "attach"

@jtoar jtoar added the release:fix This PR is a fix label Nov 28, 2022
@jtoar jtoar enabled auto-merge (squash) November 28, 2022 14:44
@jtoar jtoar merged commit 0eb5ad7 into redwoodjs:main Nov 28, 2022
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Nov 28, 2022
@redwoodjs-bot
Copy link

redwoodjs-bot bot commented Nov 28, 2022

🔔 @jtoar, @Tobbe—I couldn't cherry pick this one. If you want it in the next release, you'll have to cherry pick it manually.

@adriatic
Copy link
Contributor Author

adriatic commented Nov 28, 2022 via email

dac09 added a commit that referenced this pull request Nov 29, 2022
…xperimental-vite-optin

* 'main' of github.com:redwoodjs/redwood:
  fix(deps): update dependency css-loader to v6.7.2 (#6976)
  auth0 and netlify auth packages (#6922)
  fix(deps): update graphqlcodegenerator monorepo (#6980)
  fix(deps): update dependency react-hook-form to v7.39.7 (#6978)
  fix(deps): update dependency fastify-raw-body to v4.1.3 (#6977)
  chore(deps): update dependency esbuild to v0.15.16 (#6975)
  chore(deps): update babel monorepo (#6974)
  Make it clearer that can use directiveArgs in transformer directive (#6497)
  docs: Adds Troubleshooting Section to Serverless (#6498)
  fix: extractCookie from GraphiQLHeader (#6894) (#6969)
  Render Deploy: Define plan in template (#6905)
  fix launch.json (#6972)
  small tweak to flightcontrol deploy docs (#6973)
@jtoar jtoar modified the milestones: next-release, v4.0.0 Dec 8, 2022
jtoar added a commit that referenced this pull request Dec 8, 2022
* fix launch.json

* chore: update test project fixture

Co-authored-by: nik <nik@Nikolajs-MacBook-Pro.local>
Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
@jtoar jtoar modified the milestones: v4.0.0, next-release, v3.7.0, next-release-patch, v3.6.1 Dec 8, 2022
@jtoar jtoar modified the milestones: v3.6.1, next-release-patch Dec 9, 2022
jtoar added a commit that referenced this pull request Dec 10, 2022
* fix launch.json

* chore: update test project fixture

Co-authored-by: nik <nik@Nikolajs-MacBook-Pro.local>
Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants