Skip to content

small project to demonstrate how to debug with sourcemaps react program with babel and browserify

Notifications You must be signed in to change notification settings

CoughBall/babel_browserify_debug_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel_browserify_debug_example

preface

As I couldn't find even 1 example (which is weird) of debugging using sourcemaps locally on your pc with windows OS without using a local server, I decided to publish this small example for people to use in case of need. this example is using part of the official facebook react tutorial and babel with browserify and configured for debugging with sourcemaps the source javascript file.

This example was tested on visual studio code with chrome and firefox debug extensions

instructions

After installing all the dependencies make sure to change "<current working directory>" in the package.json to the directory you are working on and then execute "npm run build"

sources

http://blog.teamtreehouse.com/introduction-source-maps https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#

About

small project to demonstrate how to debug with sourcemaps react program with babel and browserify

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages