Search code examples
browserasp-classicconsolefirebug

Write to Firefox Console from a page (no JavaScript)


Back when FireBug worked, you could write messages to Console using HTTP headers beginning with something like "X-Wf-1-1-1". This allowed a scripting language such as PHP or ASP to output debug info.

Now that Firebug is defunct, can this still be done in some way?

Specifically, I'm trying to use Console for ASP-Classic debugging. I want ASP to be able to spit out a variable value to Console when the page loads.

(Related: https://github.com/dmeagor/ClassicASP-FirePHP )


Solution

  • The answer was that I needed the FirePHP Firefox add-on installed

    1. There a link on this page: https://github.com/firephp/firephp-for-firefox-devtools Hopefully out of Beta soon...?
    2. You may have to first go to about:config and set xpinstall.signatures.required to false

    Looking at the ASP code, I can see how this might easily be adapted for other languages. :-)