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

chore(DX): 🧑‍💻 add debug launcher and fix extension recommendations #1251

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

lloydrichards
Copy link
Collaborator

Some minot tweaks to the DX by:

  1. Replacing the extension recommendations with a non-depreciated MDX extension
  2. Added launch.json with setup for using vscode debugger
  3. Added documentation in README.md

Copy link

vercel bot commented Nov 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2023 9:02am

@@ -28,6 +28,8 @@ yarn dev

> 👉 In [Visual Studio Code](https://code.visualstudio.com/), you also can run the **default build task** (CMD-SHIFT-B) to start the dev server, database server, and TypeScript checker (you'll need [Nix](https://nixos.org) for that to work).

To run the application with debugging enabled through vscode, make sure the dev server is running and the click the "Run and Debug" button in the sidebar (CMD-SHIFT-D). Then select the "Launch Chrome" configuration. This will open a new Chrome window with the dev tools open. You can now set breakpoints in the code and they will be hit.
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 TIL, I always had used debugger manually in Chrome through it's inspector.

@lloydrichards lloydrichards merged commit 97a70de into main Nov 8, 2023
3 of 4 checks passed
@lloydrichards lloydrichards deleted the chore/developer-tools branch November 8, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants