[Xerte-dev] Re: Easiest way to debug html5_models?

Tom Reijnders reijnders at tor.nl
Fri Apr 19 12:57:30 BST 2013


I found a nice solution that works for me.

You can place debugger; in the code. It will popup the chrome and/or 
firefox debugger at that point. :-)

Tom

Op 19-4-2013 13:39, Fay Cross schreef:
> I do my initial testing in Firefox and use Firebug for debugging.  I tend to just use console.log("blah") messages
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
> Sent: 19 April 2013 12:31
> To: For Xerte technical developers
> Subject: [Xerte-dev] Easiest way to debug html5_models?
>
> Fay, John,
>
> Any pointers in how to best debug html5_model files?  I have some difficulty to set a breakpoint on for example quiz.loadQ?
>
> I have PhpStorm running, and I am trying now to use chrome. But I can't find a proper way to set the breakpoint.
>
> Tom
>
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196




More information about the Xerte-dev mailing list