I am learning Salesforce Apex development by taking a trailhead tutorial.
Tutorial: Find and Fix Bugs with Apex Replay Debugger
I followed the tutorial along and got the following error when I try to call "SFDX: Run Apex Tests" in Visual Studio Code.
Command 'SFDX: Run Apex Tests' resulted in an error (command 'sfdx.force.apex.test.run' not found)
I am able to run the tests in a terminal by the way.
Does anyone know how to fix this error? Thanks in advance.
My environment:
- MacBook Pro (13-inch, M1, 2020)
- OS: macOS Big Sur
- Virtual Studio Code Version: 1.62.3