Salesforce Developer Console is a browser-based editor providing code hinting and code validation for lightning components. Using Salesforce Developer console we create lightning components, create apex pages, debugging, unit testing for Apex. In the developer console, Salesforce provides an integrated development environment with a lot of tools for creating, debugging, and testing the application.
How to open the developer console?
The structure of the developer console looks like it has two sections:
- Main Panel.
- Tabs Panel.
To open the Developer Console, click setup | Developer console. The developer console is split into 7 panels, check the following below:
- Logs: Use the Logs tab to view a list of logs and open them in the Log inspector-a context-sensitive execution viewer that shows the source of an operation, what triggered the operation and what occurred afterward. Log panel is useful for troubleshooting database events, Apex processing, workflow, and validation logic.
- Tests: The tests panel enables you to select and run Apex test classes including unit tests, functional tests, and regression tests. It also displays code coverage percentages for each class in our Salesforce organization.
- Checkpoints: Using checkpoints, we use the developer console to set and view checkpoints to identify the source of errors in Apex code.
- Query Editor: This Query editor in the Salesforce Developer console enables the user’s to edit and execute SOQL and SOSL queries.
- View State: It enables to examine the view state of a Visualforce page.
- Progress: This tab enables to displays all asynchronous requests being made by the Salesforce developer console in real-time.
- Problems: This problem panel shows all the details of the compilation errors in the Source code for our Apex server-side controllers.