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

How to: Server side debugging? #130

Open
tokn136 opened this issue Dec 16, 2015 · 2 comments
Open

How to: Server side debugging? #130

tokn136 opened this issue Dec 16, 2015 · 2 comments

Comments

@tokn136
Copy link

tokn136 commented Dec 16, 2015

Do you have a way to debug the server side source files?
For instance setting a break point in "meteor-webpack-react/app/fixtures.js".

As webpack creates a single: server.bundle.js I guess I'd have to use source-mapping?
However, I couldn't find a proper way to do so.

I'm using Webstorm and in general they support Webpack debugging with source-maps:
(https://blog.jetbrains.com/webstorm/2015/09/debugging-webpack-applications-in-webstorm/)

Also the node-inspector only allows me to debug until:

exec('meteor --settings ../settings/devel.json', {async: true});

Any help on this is kindly appreciated!

@rozzzly
Copy link

rozzzly commented Dec 16, 2015

Node inspector is the only thing I've ever gotten to run

@jedwards1211
Copy link
Owner

It should work if you run node debug.js (requires node-inspector to be globally installed). However, server-side source maps aren't currently available on the master branch or releases (they are available on the webpack-meteor-tools branch though)

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

3 participants