There are no JavaScript debugging tools in HTML Editor, but there is an HTML code cleaner that can find unclosed and unsupported tags, as well as other anomalies in your code. To access it, go to Tools > Code Cleaner.

You can also validate your code using the W3C markup validation service. To do this, go to Document > Validate HTML. This opens the W3C markup validation service in your default web browser.