--- title: The Firefox JavaScript Debugger slug: Tools/Debugger tags: - Debugger - Debugging - Dev Tools - JavaScript - NeedsTranslation - Tools - TopicStub - 'l10n:priority' translation_of: Tools/Debugger ---
The JavaScript Debugger enables you to step through JavaScript code and examine or modify its state to help track down bugs.
{{EmbedYouTube("QK4hKWmJVLo")}}
You can use it to debug code running locally in Firefox or running remotely, for example on an Android device running Firefox for Android. See remote debugging to learn how to connect the debugger to a remote target.
To find your way around the debugger, here's a quick tour of the UI.
To find out what you can do with the debugger, see the following how-to guides: