---
schema_version: "1"
id: 1be9835ed77b29e96f1f56b457f7543bcb9b216fa963e8c4f69e7c632a04f725
title: Debugging
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/debug/debug-intro.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/debug-intro.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2607073d5a70f36109729b9349dbe1460d03a9b5cdb279d15b930cc78fb431d2
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Debugging

There are a few basic tools and techniques that can help you to debug applications.

Use Chrome DevTools to debug your client-side code.

-   To open DevTools on Windows and Linux, press Control-Shift-I in your Google Chrome browser. On Mac, press Option-Command-I.
-   To quickly find which line of code is failing, enable the **Pause on all exceptions** option before running your code.

To learn more about debugging JavaScript on Google Chrome, refer to the [Google Chrome's DevTools](https://developers.google.com/web/tools/chrome-devtools/) website.

Check out this video on how to troubleshoot your Aura components.
::video{src="https://developer.salesforce.com/docs/platform/aura-platform/guide/KmDx6HX7byNX26M9x9Cat2" title="Video from VidYard" type="vidyard"}



-   **[Disable Caching Setting During Development](https://developer.salesforce.com/docs/platform/aura-platform/guide/debug-disable-caching.md)**  


    Disable the secure and persistent browser caching setting during development in a sandbox or Developer Edition org to see the effect of any code changes without needing to empty the cache.

-   **[Log Messages](https://developer.salesforce.com/docs/platform/aura-platform/guide/debug-log-messages.md)**  


    To help debug your client-side code, you can write output to the JavaScript console of a web browser using `console.log()` if your browser supports it..


