The Wayback Machine - https://web.archive.org/web/20230307185106/https://medium.com/@auchenberg/live-edit-and-debug-your-react-apps-directly-from-vs-code-without-leaving-the-editor-3da489ed905f

Live edit and debug your React apps directly from VS Code β€” without leaving the editor πŸ”₯ πŸŽ‰πŸŽˆ

Supercharge your React debugging workflow with VS Code and Chrome debugging

Demo of React app being live edited and debugged from VS Code

How to get started in 6 steps

  1. Download the latest release of VS Code and install our Chrome debugger
  2. Create your React app using create-react-app
  3. Use the following config for your launch.jsonfile to configure the VS Code debugger and put it inside .vscode in your root folder.

Details

Our Chrome debugger now supports Webpack’s Hot Module Replacement mechanism, which pushes module changes to the browser by running a local file watcher.

--

--

Developer Experience @stripe / Alum @code , @microsoft , @citrix , @podio , @vodafone , @zyb / @WEF Global Shaper / @coldfrontconf founder / @goog

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kenneth Auchenberg

Developer Experience @stripe / Alum @code , @microsoft , @citrix , @podio , @vodafone , @zyb / @WEF Global Shaper / @coldfrontconf founder / @goog