Skip to content

Peek into original source via source maps from the command line when devtools fail.

Notifications You must be signed in to change notification settings

pi-sw/source-map-peek

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Map Peek

generate source maps

cd native

Android

react-native bundle --platform android --entry-file index.android.js --dev false --bundle-output ./android/main.jsbundle --assets-dest ./android --sourcemap-output ./sourcemap.js

iOS

react-native bundle --platform ios --entry-file index.ios.js --dev false --bundle-output ./ios/main.jsbundle --assets-dest ./ios --sourcemap-output ./sourcemap.js

copy sourcemap.js into this project directory

replace stacktrace in index.js and run ./index.js in terminal

About

Peek into original source via source maps from the command line when devtools fail.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%