voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.71k stars 502 forks source link

How to debug mosaico? #559

Closed muhammed-wh closed 4 years ago

muhammed-wh commented 4 years ago

Hello. I am trying to debug mosaico. I just start server by using grunt. In chrome dev tools, in sources tab, in rs/js folder, I see js files but these files minified. These files come from mosaico.min.js sourcemap. These files have inline sourcemaps, but chrome doesn't show the original source. Maybe it is a chrome problem, I don't know. All I want is to put breakpoint in mosaico source files. How do you debug mosaico? Thanks.

chris-tuncap commented 2 years ago

How does everyone else debug the client? I can't effectively breakpoint a line, issues with sourcemaps?