


Then, re-run your scenario to view debugger log lines in VS Code’s Debug Console.

To see errors generated by the debuggers, add "trace": "all" in your launch.json file. In the VS Code menu bar, select Help > Toggle Developer Tools, click Console, and search for relevant messages. If you’ve checked all of the above and nothing is working, check for errors in VS Code itself.

Otherwise, click New and paste the path where you installed CLI. Verify Salesforce CLI is listed as an entry. In System Properties, click Environment Variables. Search for Edit the system environment variables. To verify or add Salesforce CLI to your Windows path variable: After installing Salesforce CLI, if you get the error ‘Salesforce CLI is not installed’, most likely Salesforce CLI is not added as a path variable. See: Java Configuration Set Salesforce CLI Path (Windows) Update Salesforce CLI, as described in the Salesforce DX Setup Guide.If you haven’t set up a Salesforce DX project, check out Project Setup in the Salesforce DX Developer Guide. Make sure that the root directory you have open in VS Code contains an sfdx-project.json file.If you don’t see any SFDX commands in the command palette, make sure that you’re working on a Salesforce DX project and that you have the latest version of Salesforce CLI. Here’s some information on how to get past roadblocks that you might encounter while using Salesforce Extensions for VS Code.
