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

Development Environment #3

Open
27 tasks
coryhouse opened this issue Apr 18, 2018 · 0 comments
Open
27 tasks

Development Environment #3

coryhouse opened this issue Apr 18, 2018 · 0 comments

Comments

@coryhouse
Copy link
Owner

coryhouse commented Apr 18, 2018

Development Environment

Discuss options and configure development environment for session

Monorepo tools

See #170

Debugging in VS Code

This adds integrated VSCode debugging support to our project.

To use:

  1. Install Debugger for Chrome
  2. Click the gutter to set a breakpoint (a red dot will appear)
  3. Click the bug to open the debug panel
  4. Click play to start debugging in Chrome (make sure Chrome is selected in the dropdown next to the play button). This will open a new browser window and pause on your breakpoint.
  5. You can hover over any variables to see their values. The variables window on the left is handy too.
  6. Click on Debug console to display a console where you can run code while debugged.

This is a handy way to debug because:

  1. You don't have to change the code (to add a debugger or console statement for instance) to debug.
  2. You can set conditional breakpoints and logpoints.

Recommended ESLint rules

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