Title: Javascript error. Debug not working
Last modified: August 21, 2016

---

# Javascript error. Debug not working

 *  [willcowd](https://wordpress.org/support/users/willcowd/)
 * (@willcowd)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-debug-not-working/)
 * Hi All
 * I hope you can help.
    I’ve been messing around with the admin styles and adding
   a few javascript elements. The problem I’ve got is an
 * Uncaught ReferenceError: switchEditors is not defined
 * …which is part of a tinymce plugin. I’ve not touched the plugin but deactivated
   it just to make sure. Same error.
 * I’m trying to debug the error, but can’t get WP_DEBUG to work and produce a file.
   What is the best way to look at this.
 * Thanks
    Mark PS: Is there a search option anywhere in this forum.

The topic ‘Javascript error. Debug not working’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [willcowd](https://wordpress.org/support/users/willcowd/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-debug-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
