Summary

Congratulations! We just debugged and solved a problem in CoffeeScript, without ever digging into the compiled JavaScript itself. We:

  • Compiled our CoffeeScript with source maps
  • Used the Firefox developer tools to debug CoffeeScript
  • Used the Chrome developer tools to debug CoffeeScript

If you were not already familiar with debuggers, hopefully this experience has shown you how they can help you troubleshoot more efficiently and with less frustration. If you were already comfortable in a debugger, a lot of this probably felt familiar. Still, it's a wonderful improvement to be able to debug CoffeeScript code natively, right in the browser. Go forth and debug!

Now that we're comfortable with building and maintaining complex CoffeeScript applications, ...

Get CoffeeScript Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.