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

Add source maps for browser tests #209

Closed
jamesplease opened this issue Aug 7, 2015 · 6 comments
Closed

Add source maps for browser tests #209

jamesplease opened this issue Aug 7, 2015 · 6 comments

Comments

@jamesplease
Copy link
Member

No description provided.

@marcandre
Copy link
Contributor

👍, was going to open an issue for this.

I feel this is a biggie, makes debugging quite hard without it. Navigating a 12k line JS file isn't super fun...

@jamesplease
Copy link
Member Author

PRs welcome.

@jasonLaster
Copy link

Yup, this is what i'm seeing as well.

are there any good docs on how to go about doing this?

source-maps

@jamesplease
Copy link
Member Author

Hey there, @jasonLaster!

Browserify is used for the browser tests, so it's likely to involve flicking on the correct Browserify option.

Browserify's options are in the repo README. The option to enable source maps is debug. A quick glance at this boilerplate suggests to me that it might need to be added here.

Maybe something like _.extend(watchify.args, {debug: true}); would do the trick?

@jamesplease
Copy link
Member Author

Done! Will be released as part of v6 sometime soon

@marcandre
Copy link
Contributor

👏 🎆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants