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

Improve debugging in development mode? #33

Open
samkuhn opened this issue Dec 5, 2016 · 3 comments
Open

Improve debugging in development mode? #33

samkuhn opened this issue Dec 5, 2016 · 3 comments

Comments

@samkuhn
Copy link

samkuhn commented Dec 5, 2016

RFX Stack is great, thanks for taking the time to work on it and share.

My main issue right now is obscure debugging in development mode - when jumping to error line numbers in Chrome from the console I'm usually confronted with things like this:

eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar 

Making it quite difficult to see where any errors are occurring. Perhaps due to source map settings in WebPack? I'm not very familiar with the build system of RFX stack (yet).

Is that something I'm doing wrong - or is anyone else having this issue?

@foxhound87
Copy link
Owner

foxhound87 commented Dec 5, 2016

When you click on the filename from the console it jumps to the babel transpiled code, I don't know if it's the expected behavior.

@foxhound87
Copy link
Owner

The issue can be related to this? webpack/webpack#2145

@foxhound87
Copy link
Owner

It seems related to the react-hot-loader too.

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