Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Unable to debug using Coffee script maps

$
0
0

Hi, I know this has been posted a few times before - but I still can't seem to close the loop here... my debugger does not stop at coffee breakpoints. I'm using a remote javascript Debug run profile.

So, I've followed the routine:

  • Generated js and map files
  • Checked the js files have the coment at the bottom:

/*

//@ sourceMappingURL=app.map

*/

  • Checked the maps are referencing my source:

  "version": 3,

  "file": "app.js",

  "sourceRoot": "",

  "sources": [

    "app.coffee"

  ],

  "names": [],

  • note: all the files are currently in the same folder
  • I'm on IntelliJ 12.1.3
  • I'm using coffee-script 1.6.3 to generate js and map - with a file watcher: "coffee -c -m $FileName$"

--js and map files do not appear as child nodes to the coffee files in the IDE- is this ok?

 

my js debugs just fine - my coffee never get the ok tick on the breakpoint and never stops... Any suggestions welcome - being wracking my brains over this for some time now.

thanks...


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>