-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot launch apex debugger #2160
Comments
Thanks for opening this issue @Siraris . I've been able to replicate this screen by trying to run Apex Interactive Debugger with a user that does not have the We'll look into releasing a fix so the error screen actually has a message on it. |
I have this exact same issue. It doesn't matter if the permission set is added to the user or if it is not. |
I have also it this same issue, regardless of if the permission set is added or not. In my case, I had been using the debugger for a while, and then it just stopped working. Killing the Debugger session in the org via "Custom Code" -> "Apex Debugger" -> "Kill Debugger" resolved this issue for me, but it seems there is still a bug where error messages are not being displayed. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
@lcampos Sorry I honestly didn't see your initial response (strange). I am checking with our admin and I'll get back tomorrow with an answer. Not too familiar with how SF permissions work. |
@lcampos Our sys admin says he doesn't know of a permission called Debug Apex. He says I'm a sysadmin on our sandbox. Do you know exactly what he needs to do? |
@lcampos Question, can I ONLY debug using VScode in scratch orgs? Or can I debug in the sandbox too? |
Same issue for me as well. Is there a "known good" version of all these tools (read as: specific versions of Visual Studio Code and versions of everything deployed as part of the Salesforce Extension Pack) that I can install so I can start getting some work done? Failing that, are there specific, documented (and up-to-date documentation) guides that will help me get all of this stuff working? Right now I have to do all my prototyping in my web browser because there are so many issues with the latest versions of SFDX that all seem to be related to configuration. If you want me to supply specifics just let me know what (and HOW!) to turn on tracing and logging options for SFDX and I'll supply whatever logfiles are generated. And STOP CLOSING BUGS when it's pretty obvious there are so many developers that have the same reported issue. |
Note as of writing this message, I updated all salesforce extensions in vsCode as well as SFDX CLI.
https://developer.salesforce.com/tools/vscode/en/apex/interactive-debugger/
In the debug console I see: Then it fails with this blank error. |
I got the exact same error and symptom as permrevolution's |
hi, there are several questions so I'll try to address all of them below.
This could be caused by the org having reached the limit of concurrent streaming api connections. You can run
This is a permission that gets enabled after purchasing a license. If your org does not have it you would have to talk to your Account Executive. In the meantime you can use the Apex Replay Debugger which does not require additional licenses.
The Apex Interactive debugger can be used only in scratch orgs and sandboxes. The Apex Replay Debugger can be used in any org that generates Apex Debug logs.
You can go to our doc site https://developer.salesforce.com/tools/vscode/ or go through the following trailheads https://trailhead.salesforce.com/content/learn/projects/quickstart-vscode-salesforce, https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-web-components/set-up-visual-studio-code. I'm sure there's more content but this should be a good start.
Yes, the latest version in the Microsoft marketplace. As with any open source software, if you run into bugs or feature gaps we ask you to open a github issue and we'll work with you to get it addressed.
We have automation that helps us with the management of the repo. There are situations in which we don't get enough details in an issue for us to work on it and if the author does not reply with additional details it will get closed. As you can see, if the author does reply or the issue is active we do re-open it if it was closed by the automation. |
Specific to the issue, we have a fix that is currently under review and if everything goes well it will be released later this week. I've attached a zip file with the vsix file that contains the fix if you want to try out while we roll out the fix. |
@lcampos Thanks for the response to this, and sorry some people are giving you a hard time. |
Closing this since the fix was released as part of version 48.18.0. Thanks for providing feedback and sorry for the inconvenience this bug might've caused. |
Summary
I am having a similar issue to #722 which seems to have been resolved in 2018... when I try to launch the apex debugger in VS code 1.44.2, it just pops this:
and never actually executes.
Steps To Reproduce:
Expected result
The debugger would run
Actual result
I get a blank popup that seems to indicate an error, with a button to open the launch config.
The text was updated successfully, but these errors were encountered: