Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Trace warnings in debug mode #619

Closed
helfi92 opened this issue Dec 14, 2017 · 3 comments
Closed

Trace warnings in debug mode #619

helfi92 opened this issue Dec 14, 2017 · 3 comments

Comments

@helfi92
Copy link
Member

helfi92 commented Dec 14, 2017

When running in debug mode, we should use the trace-warnings flag to print stack traces for process warnings.

@Shruti9520
Copy link

Hi,
Can I work on this issue?

@edmorley
Copy link
Member

edmorley commented Jun 6, 2018

After #852 we don't have a Neutrino binary that's used as the only entrypoint any more, so presumably this would have to be done via something like process.on('warning', e => console.warn(e.stack)); ?
https://nodejs.org/api/process.html#process_event_warning

That said, is this still worth it - given people can just node --trace-warnings ... or NODE_OPTIONS='--trace-warnings' webpack ... etc?

@eliperelman
Copy link
Member

I'd say no, let's close.

@edmorley edmorley closed this as completed Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants