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

Enable vscode debugging on api server #4904

Merged
merged 14 commits into from
Mar 28, 2022
Merged

Enable vscode debugging on api server #4904

merged 14 commits into from
Mar 28, 2022

Conversation

dac09
Copy link
Contributor

@dac09 dac09 commented Mar 24, 2022

Original PR from @twodotsmax

Additional tasks for Danny

  • keep the debugger attached even on restart, by adding the "restart: true" property
  • add some default values for this to the CLI, I don't see a reason not to launch debugger at the port by default
  • I'll see if I can add a test for this
  • Regenerate the test fixture so it uses the latest template :)
    Manually added the launch.json, because --rebuild-fixture seems to be broken currently
  • Add docs

@netlify
Copy link

netlify bot commented Mar 24, 2022

Deploy Preview for redwoodjs-docs ready!

Name Link
🔨 Latest commit 3318aa3
🔍 Latest deploy log https://app.netlify.com/sites/redwoodjs-docs/deploys/6241e2b33a513300088aca3d
😎 Deploy Preview https://deploy-preview-4904--redwoodjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@dac09 dac09 added the release:feature This PR introduces a new feature label Mar 24, 2022
@dac09 dac09 marked this pull request as ready for review March 24, 2022 10:05
@dac09 dac09 requested a review from cannikin March 24, 2022 10:05
@dac09
Copy link
Contributor Author

dac09 commented Mar 24, 2022

@cannikin - I've actually reviewed the code here its good to go, this PR I'm adding just adds extra tests and the docs.

Would you mind reviewing the docs please? Uses MDX, so didn't want to merge without another pair of eyes!

@twodotsmax
Copy link
Contributor

Thanks Daniel

@dac09 dac09 enabled auto-merge (squash) March 28, 2022 16:30
@dac09 dac09 merged commit fe10b26 into main Mar 28, 2022
@dac09 dac09 deleted the feat/api-debug-vscode branch March 28, 2022 16:53
@jtoar jtoar added this to the next-release milestone Mar 28, 2022
dac09 added a commit to dac09/redwood that referenced this pull request Mar 29, 2022
…tory-routing

* 'main' of github.com:redwoodjs/redwood:
  chore(deps): update dependency cypress to v9.5.3 (redwoodjs#4955)
  chore(deps): update dependency @supabase/supabase-js to v1.33.1 (redwoodjs#4951)
  chore(deps): update dependency @clerk/types to v2 (redwoodjs#4920)
  fix flightcontrol template and doc (redwoodjs#4934)
  Fix test-project linting errors (redwoodjs#4942)
  More clerk doc comment updates (redwoodjs#4943)
  fix(deps): update dependency eslint to v8.12.0 (redwoodjs#4938)
  chore(deps): update dependency esbuild to v0.14.28 (redwoodjs#4936)
  Enable vscode debugging on api server (redwoodjs#4904)
thedavidprice pushed a commit that referenced this pull request Mar 31, 2022
* Enable debugging api server as forked by "yarn rw dev" on configured port (#4694)

* Add test for api debug port

* Update launch.json to with api debug

* Set debug port to 18911 by default

* Add docs for api deubgging

* Pin react-player, cleanup doc

* Update snapshot and launch.json in fixture

* Add more info in docs | Fix ynar

* Update docs/docs/project-configuration-dev-test-build.mdx

Co-authored-by: Rob Cameron <[email protected]>

* Update docs/docs/project-configuration-dev-test-build.mdx

Co-authored-by: Rob Cameron <[email protected]>

Co-authored-by: twodotsmax <[email protected]>
Co-authored-by: Rob Cameron <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature This PR introduces a new feature
Projects
No open projects
Status: Archived
Development

Successfully merging this pull request may close these issues.

6 participants