SFDX: Update Checkpoints in Org
using Salesforce Extensions for Visual Studio Code I get the error
Checkpoints can be set on valid line of Apex source. Invalid checkpoint location
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
The issue was a space character in the path to my project, e.g.
I removed the space in the path and was able to successfully update checkpoints.
Special characters cause same issue, e.g.
To resolve, I would suggest to first close the folder in VS Code, edit folder name outside of VS Code, then open renamed folder in VS Code.
Thanks to this post for resolution https://github.com/forcedotcom/salesforcedx-vscode/issues/1476