Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5930951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:37:33+00:00 2026-05-22T14:37:33+00:00

How do you debug coffeescript in Firefox w/ firebug when using rails 3.0.7? I

  • 0

How do you debug coffeescript in Firefox w/ firebug when using rails 3.0.7?

I am using Barista and Coffeescript. It works just fine (a basic ‘alert “hello”‘ is running).

However, when there are obviously errors… nothing happens. How can I get more indepth feedback? :/

This is how I add it to my erb file:

<%= coffeescript_include_tag "lib/dynamic_menu", "views/tour" %>

This is what my coffeescript installation is including in the page:

<script src="/javascripts/coffeescript.js" type="text/javascript"></script>
<script src="/coffeescripts/lib/dynamic_menu.coffee" type="text/coffeescript"></script>
<script src="/coffeescripts/views/tour.coffee" type="text/coffeescript"></script>

When I look in Firebug, I can see it loading these, but it just says “200 OK”. Other than that, nothing happens (because obviously my code is wrong… but without feedback, how am I supposed to know? :/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:37:34+00:00Added an answer on May 22, 2026 at 2:37 pm

    I haven’t seen anyone use the coffeescript_include_tag feature of Barista before, and honestly, I don’t see the point of it. It might be nice once browsers offer native debugging support for CoffeeScript (which is certainly coming), but for now, you’re better off taking advantage of Barista’s ability to compile to JavaScript transparently. Just use the javascript_include_tag instead, or turn off Barista’s embedded_interpreter option.

    The Barista docs aren’t totally clear as far as “How to Get Started” right now, so you may want to check out this blog post.

    I also suggest using barista_growl (which I wrote) if you’re on a Mac, so that you get better reporting of CoffeeScript compilation errors.

    (The reason you’re seeing 200 OK, by the way, is that the .coffee files are loaded via Ajax, after the initial page load. That may confuse some JavaScript debugging tools.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Debug breakpoint's works fine in all other 38 units of my system. But, in
I'm trying to debug an extJS based JavaScript form in Firefox 3.0.8, with Firebug,
in debug it works fine but when I run the C++ 2010 program in
Hitting debug will deploy the application to \program files\AppNamespace\AppName.exe and attach to it. However,
To debug some JavaScript code, I am looking for JavaScript code (preferably just js,
Debug Messages from the Windows Kernel Drivers? I am using DbgPrint and DebugView currently,
How do you debug PHP scripts? I am aware of basic debugging such as
When I debug in Visual Studio, Firefox opens and that is annoying because of
I would like to debug an embedded system containing gdb remotely using some kind
To debug chromium using gdb ( LinuxDebugging ) one can use chromium --renderer-cmd-prefix=gdb --args

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.