A demo on how to debug a fuse-box project in vs code
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Changed order Jan 15, 2018
src
.gitattributes Initial commit Jul 16, 2017
.gitignore
LICENSE
README.md
fuse.js
package.json Example with both client and server side debugging Jan 15, 2018
tsconfig.json Initial checkin Jul 16, 2017
yarn.lock Example with both client and server side debugging Jan 15, 2018

README.md

fuse-box-debug

This is a demonstration on how to debug a fuse-box project with visual studio code. A walkthrough on how it works can be found on the fuse-box vscode debugging guide.

Setup

  • Install dependecies with npm i
  • Open this project in vscode and install the chrome-debug extension.
  • Start fuse-box with the start task in vscode or npm start in your terminal
  • Then hit f5 in vscode to start fuse-box and launch a new instance of chrome with debugging enabled

Optionally there is a compound configuration Start Both that will let you debug the server as well.

Notes

Currently when debugging source-maps won't update on hot reload it's currently tracked in issue fuse-box/fuse-box#673.