<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Toggle PHP Debugging  - Comments</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging</link>
 <description>Comments for &quot;Toggle PHP Debugging &quot;</description>
 <language>en</language>
<item>
 <title>Don&#039;t the bookmarklets work</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-5341</link>
 <description>&lt;p&gt;Don&#039;t the bookmarklets work in IE?&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 12:07:17 -0700</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 5341 at http://community.activestate.com</guid>
</item>
<item>
 <title>I feel like a dork having to</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-3811</link>
 <description>&lt;p&gt;I feel like a dork having to ask this ... but is there any way to do this in IE?  I&#039;ve been using the FF toggle for a while, and it&#039;s a life saver ... but I&#039;m having to (*gasp*) use IE7 for compat testing a lot now, and could really use the same feature.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Mon, 07 Jan 2008 13:58:51 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 3811 at http://community.activestate.com</guid>
</item>
<item>
 <title>another option</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-2637</link>
 <description>&lt;p&gt;i wrote these two before i found this thread. might be useful to someone:&lt;br /&gt;
just make them a bookmark. they&#039;ll reload the current page with debugging turned on or off, respectively. works in FF2 and MSIE6.&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;/* start debugging */
javascript:if(location.href.search(/\?/) &amp;gt; 0){location.href=location.href.replace(/\?/,&#039;?XDEBUG_SESSION_START=debug&amp;amp;&#039;);}else{location.href=location.href+&#039;?XDEBUG_SESSION_START=debug&#039;;}

/* stop debugging */
javascript:if(location.href.search(/\?/) &amp;gt; 0){location.href=location.href.replace(/\?/,&#039;?XDEBUG_SESSION_STOP&amp;amp;&#039;).replace(&#039;XDEBUG_SESSION_START=debug&#039;,&#039;&#039;);}else{location.href=location.href+&#039;?XDEBUG_SESSION_STOP&#039;;}&lt;/pre&gt;</description>
 <pubDate>Thu, 16 Aug 2007 22:02:22 -0700</pubDate>
 <dc:creator>PenguSven</dc:creator>
 <guid isPermaLink="false">comment 2637 at http://community.activestate.com</guid>
</item>
<item>
 <title>Better</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-1234</link>
 <description>&lt;p&gt;Ah - much better. &lt;/p&gt;
&lt;p&gt;The downside of that script is you have to try and remember the current debug state since there&#039;s no indicators. One more bit of information to hold in your head that pushes out something useful like walking, or breathing.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;
</description>
 <pubDate>Wed, 04 Apr 2007 14:19:13 -0700</pubDate>
 <dc:creator>scottpederick</dc:creator>
 <guid isPermaLink="false">comment 1234 at http://community.activestate.com</guid>
</item>
<item>
 <title>FF extension for this as well</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-1215</link>
 <description>&lt;p&gt;There is this Firefox extension as well:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/3960&quot;&gt;https://addons.mozilla.org/en-US/firefox/addon/3960&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Wed, 04 Apr 2007 07:49:12 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 1215 at http://community.activestate.com</guid>
</item>
<item>
 <title>Heh</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-1182</link>
 <description>&lt;p&gt;Should learn to read I guess :D&lt;/p&gt;
</description>
 <pubDate>Thu, 29 Mar 2007 14:23:45 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 1182 at http://community.activestate.com</guid>
</item>
<item>
 <title>Yeah - it&#039;s a toggle. Turns</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-1181</link>
 <description>&lt;p&gt;Yeah - it&#039;s a toggle. Turns it on if it&#039;s off and off if it&#039;s on.&lt;/p&gt;
</description>
 <pubDate>Thu, 29 Mar 2007 14:22:14 -0700</pubDate>
 <dc:creator>scottpederick</dc:creator>
 <guid isPermaLink="false">comment 1181 at http://community.activestate.com</guid>
</item>
<item>
 <title>That is cool</title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging#comment-1169</link>
 <description>&lt;p&gt;I&#039;m assuming you can also turn it off (stop debugging requests) in a similar fashion, by removing the XDEBUG cookie if it&#039;s set?&lt;/p&gt;
</description>
 <pubDate>Thu, 29 Mar 2007 08:07:54 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 1169 at http://community.activestate.com</guid>
</item>
<item>
 <title>Toggle PHP Debugging </title>
 <link>http://community.activestate.com/forum-topic/toggle-php-debugging</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not sure if this is the best place to post this but thought it might be handy for other users debugging using Firefox.&lt;/p&gt;
&lt;p&gt;Create a new bookmark and paste in the following as the location:&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;geshifilter&quot;&gt;javascript:(function(){var exp = new Date(); exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 1));var c = document.cookie.indexOf(&#039;XDEBUG_SESSION&#039;);if (c==-1) {	document.cookie = &#039;XDEBUG_SESSION=1;expires=&#039; + exp.toUTCString() + &#039;;path=/&#039;; } else {	document.cookie = &#039;XDEBUG_SESSION=;expires=expires=Thu, 01-Jan-70 00?? GMT;path=/&#039;; }})()&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This will toggle the XDEBUG_SESSION cookie. On the next page fetch (refresh or AJAX) the debugging will be set.&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/toggle-php-debugging#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Wed, 28 Mar 2007 22:33:19 -0700</pubDate>
 <dc:creator>scottpederick</dc:creator>
 <guid isPermaLink="false">683 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
