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

Documentation on client-side debugging #382

Open
mb720 opened this issue Sep 9, 2017 · 1 comment
Open

Documentation on client-side debugging #382

mb720 opened this issue Sep 9, 2017 · 1 comment

Comments

@mb720
Copy link
Contributor

mb720 commented Sep 9, 2017

Hi!

I'd like to offer my help for adding instructions to scala-js.org on how to debug Scala.js code in the browser using source maps.

I've seen there are plans to add that kind of documentation but so far I've found nothing related on the website.

I'd be happy to collect expertise, caveats, and SBT configs, write that up in a step-by-step guide and create a pull request.

Regarding IDEs, I'd suggest, we include instructions for debugging in IntelliJ and Chrome DevTools.

@sjrd
Copy link
Member

sjrd commented Sep 9, 2017

By all means, please do 👍

I don't have much to offer though apart from

  • Make sure source maps are enabled in the browser
  • In case things are too obscure, use scalaJSLinkerConfig ~= { _.withOptimizer(false) } in sbt, clean and rebuild

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