{"id":257,"date":"2010-08-02T20:34:47","date_gmt":"2010-08-03T01:34:47","guid":{"rendered":"http:\/\/www.cfchimp.com\/wordpress\/?p=257"},"modified":"2024-12-05T19:53:13","modified_gmt":"2024-12-06T00:53:13","slug":"debugging-coldfusion-9-on-shared-hosting","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2010\/08\/debugging-coldfusion-9-on-shared-hosting\/","title":{"rendered":"Debugging ColdFusion 9 on shared hosting"},"content":{"rendered":"<p>With ColdFusion 9 debugging can be enabled on a page by page basis.  This is super handy in a shared hosting environment where you don&#8217;t have access to the CFADMIN.<\/p>\n<h3>Step 1<\/h3>\n<p>Set debuggingipaddress and enablerobustexception in the THIS scope of your Application.cfc.\u00a0 You can use http:\/\/www.whatismyip.com if you don&#8217;t know your ip address.<\/p>\n<pre>\t&lt;!--- define a debugging ip ---&gt;\r\n\t&lt;cfset this.debuggingipaddresses=\"xxx.xxx.xxx.xxx\"&gt;\r\n\t&lt;!--- enable robust exception ---&gt;\r\n\t&lt;cfset this.enablerobustexception=\"yes\"&gt;\r\n<\/pre>\n<h3>Step 2<\/h3>\n<p>Enable show debug output at the top of your page&#8217;s code.<\/p>\n<pre>\t&lt;!--- enable show debug output ---&gt;\r\n\t&lt;cfsetting showdebugoutput=\"true\"&gt;\r\n<\/pre>\n<p>You should now see your debugging info appended to the page.<\/p>\n<h3>Just to verify!<\/h3>\n<p>You can verify debugging is enabled by outputting the value of IsDebugMode().<\/p>\n<pre>\t&lt;!--- Is debugging on?  Should be yes when showdebugoutput=\"true\" ---&gt;\r\n\t&lt;cfoutput&gt;#IsDebugMode()#&lt;\/cfoutput&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>With ColdFusion 9 debugging can be enabled on a page by page basis. This is super handy in a shared hosting environment where you don&#8217;t have access to the CFADMIN. Step 1 Set debuggingipaddress and enablerobustexception in the THIS scope of your Application.cfc.\u00a0 You can use http:\/\/www.whatismyip.com if you don&#8217;t know your ip address. &lt;!&#8212; &#8230; <a title=\"Debugging ColdFusion 9 on shared hosting\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2010\/08\/debugging-coldfusion-9-on-shared-hosting\/\" aria-label=\"Read more about Debugging ColdFusion 9 on shared hosting\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[48],"class_list":["post-257","post","type-post","status-publish","format-standard","hentry","category-developer","tag-coldfusion"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-49","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}