salesforcedx-vscode: Unable to open file with Apex Interactive Debugger when the path to the file contains spaces (%20)
Summary
I got “Path must be string. Received undefined” error when attempting to start debugger (green Play button)
Steps To Reproduce:
i followed all the steps using below link https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-apex-debugger
here is my Launch.json file:
{ "version": "0.2.0", "configurations": [ { "name": "Launch Apex Debugger", "type": "apex", "request": "launch", "sfdxProject": "${workspaceRoot}" } ] }
Expected result
Debugg session should be start
Actual result
“TypeError:Path must be string. Received undefined” error
Additional information
VS Code Version: 1.20 SFDX CLI Version: CLI version — sfdx-cli/6.2.1-9477838 (windows-x64) node-v8.9.4 Apex debugger vscode extension version — 42.2.0 sfdx force version — v42.0
OS and version: Windows 7 enterprise SP1
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (12 by maintainers)
My bad, fell under my radar. The space issue on Windows path has been fixed in https://github.com/forcedotcom/salesforcedx-vscode/pull/359.
Correct.
@kristualdandamudi , did you also install this extension? https://marketplace.visualstudio.com/items?itemName=chuckjonas.apex-debug
If yes, could you disable that extension while using Salesforce’s official Apex Debugger extension?