When I select Launch Apex Replay Debugger
in VS Code it asks me to select a log file and then gives me this error message:
Cannot read property 'name' of null
I've managed to get the Apex Replay Debugger to work once and since that I get this error.
launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Apex Replay Debugger",
"type": "apex-replay",
"request": "launch",
"logFile": "${command:AskForLogFileName}",
"stopOnEntry": true,
"trace": true
}
]
}
My salesforcedx-vscode-apex.java.home
is set in the user settings to:
"salesforcedx-vscode-apex.java.home": "C:\\Program Files\\Java\\jdk1.8.0_172"
Any ideas how to fix this?
SFDX: Turn On Apex Debug Log For Replay Debugger
)? Care to share yoursalesforcedx-vscode-apex.java.home
value from your user settings?launch.json
look like for the debugger? (project root/.vscode/launch.json)salesforcedx-vscode-apex.java.home
setting value