Mike Smith
Mike Smith

Reputation: 1

Is debugging HTML in Firefox or Chrome really this hard?

How can I use firebug or the Chrome debugger to debug html? It seems like it should be easy but I don't see how to do it?

For example, I have <script poo="text/javascript" src="../src/JSTweener.js"></script> and the debugger in no way picks up that there is an error because I had poo in the script tag. How can I debug stuff like this? Thanks.

Upvotes: 0

Views: 263

Answers (2)

Jeff Watkins
Jeff Watkins

Reputation: 6359

Use an html validator to pick up problems in the actual markup. Both ie developer toolbar and firebug have validation Iirc. Remember it's markup not imperative code so the concept of debugging is the wrong idiom.

Upvotes: 1

Related Questions