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

Debug Scala.js #37

Open
mmelitzer opened this issue May 13, 2016 · 3 comments
Open

Debug Scala.js #37

mmelitzer opened this issue May 13, 2016 · 3 comments

Comments

@mmelitzer
Copy link

Is there any way to debug the Scala.js code in Chrome when running in the react-native in the iOS Simulator (or anyhow else), I'm only able to debug using the generated index.ios.js :-(?

@chandu0101
Copy link
Owner

good question , i never tried that infact i never debugged scala code using source maps in web app even , hope some scala.js source map pro can help ..

@mmelitzer
Copy link
Author

In the web app it works like a charm

@mmelitzer
Copy link
Author

The sourcemap gets created for both fast and fullOptJS, Chrome can't resolve it though even after copying the files and updating the links.
Seems like the issue isn't with Scala.js but with react/react-packager, will try to get it to work with this tomorrow: https://github.com/mjohnston/react-native-webpack-server

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

2 participants