---
schema_version: "1"
id: bf24e0afc62745b405791c2b4536eba5c151b02c785b69e55602d0bc73f22187
title: Developer Console Debug Menu
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/code_dev_console_menu_debug.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.code_dev_console_menu_debug.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 72dc548bbda2438f416a0696a758998258d55d0ccfd474586fdea802a88cb820
description: The Developer Console Debug menu allows you to manage your logs and execute anonymous Apex. It includes these options.
products:
  - Salesforce Platform
release: "264"
---
# Developer Console Debug Menu

The Developer Console **Debug** menu allows you to manage your logs and execute anonymous Apex. It includes these options.

- **Open Execute Anonymous Window**: Opens a new window that allows you to enter Apex code for testing.
- **Execute Last**: Executes the most recent entry in the Enter Apex Code window.
- **Switch Perspective**: Selects the perspective from the list of available standard and custom perspectives.
- **View Log Panels**: Displays a list of available panels for use in a perspective.
- **Perspective Manager**: Opens the Perspective Manager.
- **Save Perspective**: Saves any changes you’ve made to the current perspective since it was open.
- **Save Perspective As**: Saves a copy of the current perspective with a different name.
- **Auto-Hide Logs**: Select this option to clear existing logs when the page is refreshed.
- **Show My Current Logs Only**: Deselect this option (selected by default) to see all logs saved for your organization, including newly generated logs created by other users.
- **Show My Current Checkpoints Only**: Deselect this option (selected by default) to display all checkpoints currently saved for your organization, including newly generated ones created by other users.
- **Clear**: Select **Log Panel**, **Checkpoint Results Panel**, or **Checkpoint Locations** to erase current data from the cache and refresh the display.
- **Resume Updating**: Renews the connection to the server. This option is only shown if polling has been interrupted due to inactivity.
- **Change Log Levels**: Opens the log settings dialog to define logging levels for future requests.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_code-264-0-0-production-enus/789bc523-706b-4ae4-8fe9-be6322e38b6b/images/icon_note.png)

Note Some options in the **Debug** menu are not accessible until a log has been generated.

#### See Also

- [Executing Anonymous Apex Code](https://help.salesforce.com/s/articleView?id=platform.code_dev_console_execute_anonymous.htm&release=264.0.0&type=5 "The Developer Console allows you to execute Apex code as another way to generate debug logs that cover specific application logic.")
- [Log Inspector](https://help.salesforce.com/s/articleView?id=platform.code_dev_console_view_system_log.htm&release=264.0.0&type=5 "The Log Inspector is a context-sensitive execution viewer in the Developer Console. It shows the source of an operation, what triggered the operation, and what occurred next. Use this tool to inspect debug logs that include database events, Apex processing, workflow, and validation logic.")
- [Managing Perspectives in the Log Inspector](https://help.salesforce.com/s/articleView?id=platform.code_dev_console_perspectives_working.htm&release=264.0.0&type=5 "A perspective is a predefined layout of panels in the Log Inspector.")
- [Debug Log Levels](https://help.salesforce.com/s/articleView?id=platform.code_setting_debug_log_levels.htm&release=264.0.0&type=5 "To specify the level of information that gets included in debug logs, set up trace flags and debug levels. The debug levels assigned to your trace flags control the type and amount of information that is logged for different events. After logging has occurred, inspect debug events in your debug logs.")