generator-ng2-webpack icon indicating copy to clipboard operation
generator-ng2-webpack copied to clipboard

Debugging with generator-ng2-webpack projects

Open cmelion opened this issue 8 years ago • 5 comments

"I found it challenging to debug this because the default "npm start" script generated a build with webpack that was fairly opaque. I do not believe source maps were turned on in the generated build, and so it was difficult to debug the built JavaScript to see what might be wrong. " - Jake

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33406773-debugging-with-generator-ng2-webpack-projects?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github).

cmelion avatar Apr 28 '16 00:04 cmelion

generator-ng2-webpack projects use webpack's devserver and sourcemaps are generated for both script and css. A good explanation of the process can be found at http://stackoverflow.com/a/33422697

cmelion avatar Apr 28 '16 01:04 cmelion

screenshot 2016-04-27 21 00 51

cmelion avatar Apr 28 '16 01:04 cmelion

I will review the link. Thank you.

jbeard4 avatar Apr 28 '16 23:04 jbeard4

Can you confirm if https://github.com/cmelion/generator-ng2-webpack/issues/28 fixes the browser open issue on Linux?

On Thu, Apr 28, 2016 at 7:37 PM, Jacob Beard [email protected] wrote:

I will review the link. Thank you.

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/cmelion/generator-ng2-webpack/issues/27#issuecomment-215593455

cmelion avatar Apr 29 '16 11:04 cmelion

reopening due to related issue https://github.com/cmelion/generator-ng2-webpack/issues/32

Also it's unclear how to debug unit tests using a docker based workflow

cmelion avatar May 15 '16 11:05 cmelion