Derek
9th December 2005, 08:34 PM
I like using it on my sites, I edited the config file so it's only on for my IP Address:
if(IPADDRESS == 'my_ip') {
$config['Misc']['debug'] = 1;
}
It comes in handy when I am working on my hacks and need to add settings or templates to the Master Style.
So, do you use debug mode?
Pyro
9th December 2005, 08:36 PM
No...I really don't have a need to use debug mode. I don't really know what exactly I could debug. What's it display and what kind of use is it? Does it display the code, or how long it takes to process stuff or serverload or something?
adb22791
9th December 2005, 08:42 PM
I use it on my test board, for when I'm developing a hack. It displays what templates are used on a page, and you can also easily create new vboptions fields. You should try it sometime :D
Chroder
9th December 2005, 10:25 PM
I use the same type of code in my config.php, slightly modified since I've sometimes got a few people wanting debug mode enabled.
$debug_ips = array('...');
$config['Misc']['debug'] = (in_array($_SERVER['REMOTE_ADDR'], $debug_ips) ? true : false);
Robert
10th December 2005, 01:35 AM
Nice. I came a cross a hack (I think my Xenon or Andreas) which allows debug from your PC only. Whenever I upgrade I have to turn it on as I have a hack which isn't a product and I have to manually add the catagories to the AdminCP. Which is a pain.
ATI4EVER
15th December 2005, 09:09 PM
I like using it on my sites, I edited the config file so it's only on for my IP Address:
if(IPADDRESS == 'my_ip') {
$config['Misc']['debug'] = 1;
}
It comes in handy when I am working on my hacks and need to add settings or templates to the Master Style.
So, do you use debug mode?
I think I might just use that :)
But in general, no, I do not use it.
TheComputerGuy
30th December 2005, 12:20 AM
I normally do not use it. It is annoying to me, but when I am trying to me a custom modifiction to the site I do use it. I have not had to use it in 3.5 yet!
Neeto
3rd January 2006, 05:17 PM
I used it once, cause I had to edit something that required it on, but that was before plugins.