coffeescript sourcemaps not working with Chrome developer tool -
i configured coffeescript compiler run map (-m) using intellij nodejs. assume source maps should able debug in coffeescript files in chrome developer tool. enable souce map checked. tried open .coffee file got "cannot /path.../foo.coffee" error. folder of coffeescript files resides in sources explorer weird. ../../../../../web/src/test/webapps/installmanager
i think reflects what's in map.
"sourceroot": "../../../../..", "sources": [ "web/src/test/webapps/installmanager/app.coffee" ], i have sourcemappingurl in js files. /* //@ sourcemappingurl=common.map */
the following configuration running coffeescript compiler:
application parameters: -cwm /home/repository/svn/ding/web/src/test/webapps
why can't chrome coffee file since maps available now? because of path in sourceroot , sources in maps?
i able add workspaces in chrome canary , map them , bidirectional editing still can't debug (can set breakpoints debugger never stopped @ breakpoints).
thank you
i fixed problems - in cross references between js coffee , map files. configured transpiled .js placed right next coffee (and map, picked up.
Comments
Post a Comment