FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Printing out or displaying for debugging
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Printing out or displaying for debugging [message #179847 is a reply to message #179843] Tue, 11 December 2012 19:04 Go to previous messageGo to previous message
Robert Heller is currently offline  Robert Heller
Messages: 60
Registered: December 2010
Karma:
Member
At Tue, 11 Dec 2012 12:32:23 -0500 Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:

>
> On 12/11/2012 10:59 AM, C wrote:
>> What is a good way to see the values of a few variables for debugging?
>> I cannot debug locally. I have to put the code on the server in the
>> normal Internet site (which does not receive a lot of human visitors),
>> so it would not hurt to display the values of some variables for a few
>> minutes while I am debugging.
>>
>
> You should ALWAYS have a development environment separate from (but very
> similar to) your live system. NEVER upload untested/undebugged code to
> a live system, no matter how few visitors it gets!
>

+1

It is dead trivial to install a basic simple LAMP server either on a
random spare PC, hard drive partition, or (if your machine is new
enough) on a bootable thumb drive. Or you can install a VM system
(like VirtualBox) and install a LAMP server as a virtual machine.

(It is also possible to install a WAMP server if you really must.)

--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When is it possible for $_SERVER['SERVER_NAME'] to contain something other than the URL which actvated the script?
Next Topic: Re: Converting file from word.doc to pdf...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 17:15:41 GMT 2024

Total time taken to generate the page: 0.05126 seconds