salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

ISV Debugger throws error 'Your project configuration is invalid or incomplete for ISV debugging'

Open aljaz823 opened this issue 1 year ago • 4 comments

Summary

After following the instructions on setting up the ISV Apex Debugger, running the Apex Debugger throws an error saying:

Your project configuration is invalid or incomplete for ISV debugging.
Return to the Apex Debugger page in Setup, start a new partner debugging session, and try again.

Steps To Reproduce:

  1. Grant login access from the subscriber sandbox
  2. Login to the subscriber org from the ISV org
  3. Go to Setup -> Apex Debugger -> Start Partner Debugging Session and copy the url
  4. Go to VS Code -> SFDX: Create and Set Up Project for ISV Debugging and paste the above url
  5. On completion, new VS Code window opens
  6. Run the default launch configuration from launch.json to run the Apex Debugger

Expected result

Successful and active Apex Debugger session.

Actual result

An error is thrown saying:

Your project configuration is invalid or incomplete for ISV debugging.
Return to the Apex Debugger page in Setup, start a new partner debugging session, and try again.

Additional information

image

Salesforce Extension Version in VS Code: v59.9.0

SFDX CLI Version: @salesforce/cli/2.21.8 darwin-arm64 node-v20.10.0

OS and version: macOS Sonoma 14.1.2 (23B92)

VS Code version: 1.85.1

aljaz823 avatar Jan 08 '24 10:01 aljaz823

This issue has been linked to a new work item: W-14777320

git2gus[bot] avatar Jan 08 '24 21:01 git2gus[bot]

HI @aljaz823 , thanks for reporting this issue. We are aware of this issue and actively looking into this. We will let you know when we have an update.

mingxuanzhangsfdx avatar Jan 08 '24 21:01 mingxuanzhangsfdx

Hi any updates about this bug? ISV Debugger is very usefull

JanuszWdowka avatar Mar 28 '24 08:03 JanuszWdowka

Hi @JanuszWdowka, You asked for an update just in time - we actually have a PR open with a fix for this issue now! https://github.com/forcedotcom/salesforcedx-vscode/pull/5522 😁

daphne-sfdc avatar Mar 28 '24 18:03 daphne-sfdc

Closing this issue because https://github.com/forcedotcom/salesforcedx-vscode/pull/5522 has been merged and released.

daphne-sfdc avatar May 23 '24 16:05 daphne-sfdc