Salesforce Apex Script terminal VS CodeThis extension provides a User Interface to run Apex scripts from vscode without access to the org developer console, the code editor is made with ACE Editor Link: https://ace.c9.io/, the editor provide syntax highlighter for Apex language, the extension use the follow DX commands: 1.5.7 - New featureTo delete local or org user logs press the relative button: Execute or Execute Highlighted sfdx force:apex:execute -f = execute the code Open USER_DEBUG only log on Terminal sfdx force:apex:log:tail --color | grep USER_DEBUG = launch a terminal and show all executed code debug (only user debug) Open FINEST log on Terminal sfdx force:apex:log:tail --color = launch a terminal and show all executed code Open Log checkbox save the log on the debug\log folder of the Salesforce project Set DebugLevel Create or Update a custom DebugLevel with the picklist menu PrerequisitesBefore you set up Apex Script terminal for VS Code, make sure that you have these essentials. Salesforce Extensions for Visual Studio Code Visual Studio Code v1.59.0 or later How to use?To start the extension show command palette and select SFDX Start Apex Terminal: Enter Apex Code Enter your Apex code into the editor and click execute to run all code on the editor or execute Highlighted only for the selected row: To run the script press Execute for the test or Execute Highlighted only for the selected text: To run the script and show the log select the checkbox: To setup a custom log level use the picklist menu under Logs option and press Set DebugLevel: |