Graphical user interface, application 
Description automatically generated

To disable debug mode for a user in your org:

Setup > Debug Mode > Debug Mode Users

Users with debug mode enabled have a check mark in the Debug Mode column.

In the user list, locate any users who need debug mode enabled. If necessary, use the standard list view controls to filter your org’s users.

Enable the selection checkbox next to users for whom you want to enable debug mode.

Click Disable

InfallibleTechie: Lightning Debug Mode in Salesforce