Skip to main content
Karen_Little
Inspiring
May 30, 2010
Answered

Making debug information display - more questions

  • May 30, 2010
  • 1 reply
  • 947 views

Hi all - I work on a remote CF server and need debugging information displayed at all times. Unfortunately, I lost my dedicated IP address which could be plugged into the server, which gave me the privilege of seeing the information i need.

Earlier this week, I left a message on this forum related to this issue and was told to use <CFSetting ... to resolve the issue.

I've tried it and have not been able to see server variables and other debug information information.

Will this tag override the server variable "Enable Debugging" if that is set to "no"? (I suspect not, but no hurt in asking.)

Also, is there some way or some service that can take my new dynamic IP and resolve it to a static IP number? Right now, I use dynDns.com to resolve the issue, but this results in a domain name, and not a domain IP, which can be used in CF MX Administrator.

Note that this is how I have the tag setup.

<cfsetting
   enableCFoutputOnly = "yes"
   showDebugOutput = "yes" >

Do I understand how this tag is supposed to work? I want to see all server information on every page. Does CFSetting only work when there is an error?  Arrrrrrggggggg - I'm very needy right at the moment to resolve this issue.

This topic has been closed for replies.
Correct answer ilssac

As I replied in your earlier post, NO <cfsetting....> does not override the debug setting in the administrator.

If debugging is turned off in the administrator, ColdFusion does not generate ANY debugging data.  This is a performance gain, and is often done on production servers.

For the <cfsetting....> tag to work.  Debugging has to be turned on, AND you have to be connecting to the server with an IP that is allowed to see the debugging.  If there are now IP's set in the filter, then ALL IPs can see the debugging output.

This is what many ISP's will do.  They will turn on debugging and provide no IP filters so that every user will see the debugging output and leave up to the developers to use the <cfsetting....> tag to display or not display the output as desired.

To answer your second question.  DNS is not going to help you.  You need to provide an IP address, DNS is for providing an Domain Name to substitue for an IP address.

The only idea I could have, is if you could find a proxy service that would give you another IP address and then proxy that address to yours.  But that sounds like a rather flaky option to me.

1 reply

ilssac
ilssacCorrect answer
Inspiring
May 30, 2010

As I replied in your earlier post, NO <cfsetting....> does not override the debug setting in the administrator.

If debugging is turned off in the administrator, ColdFusion does not generate ANY debugging data.  This is a performance gain, and is often done on production servers.

For the <cfsetting....> tag to work.  Debugging has to be turned on, AND you have to be connecting to the server with an IP that is allowed to see the debugging.  If there are now IP's set in the filter, then ALL IPs can see the debugging output.

This is what many ISP's will do.  They will turn on debugging and provide no IP filters so that every user will see the debugging output and leave up to the developers to use the <cfsetting....> tag to display or not display the output as desired.

To answer your second question.  DNS is not going to help you.  You need to provide an IP address, DNS is for providing an Domain Name to substitue for an IP address.

The only idea I could have, is if you could find a proxy service that would give you another IP address and then proxy that address to yours.  But that sounds like a rather flaky option to me.

Karen_Little
Inspiring
May 30, 2010

Ian - that's what I thought. You succinctly brought me the bad, terrible, and even worst news!

The only ray of hope I have is that I now subscribe to Verizon Fios and the IP is not currently dynamic (at least, not that I've seen) as long as I'm plugged in.

The other ray of hope is paying Verizon $100 a month for the privilage of a permanet IP (it used to cost around $50). I'm hoping to find another solution.

Karen