question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to launch Apex Debugger

See original GitHub issue

When trying to launch the Apex Debugger from vscode, is does not launch.

I have used the standard configuration as found in the documentation, but is does nothing. I dit create a permissionset en assign it. In our production org I cannot find any information about a session being started/used.

{
	"configurations": [
		{
			"name": "Launch Apex Debugger",
			"type": "apex",
			"request": "launch",
			"sfdxProject": "${workspaceRoot}"
		}
	]
}

I have used the debugger succesfully a number of times with vscode, but in the past months I have not been able to use it anymore.

Steps To Reproduce:

  1. Push the ’ Start debugging’ button in VSCode

Expected result

Apex debugger should have been started.

Actual result

The little blue line underneath the button keeps running around:

image

Details

VS Code Version: 1.28.2 (user setup)

SFDX CLI Version: sfdx-cli/6.38.0-0d66175ccf (windows-x64) node-v8.9.4

OS and version: Windows 10 Enterprise

Internal Work Item: W-5622038

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lcamposcommented, Nov 15, 2018

@jhuizenga @nlrisbell we’ve release the fix for this as part of version 44.7.0 of the extensions. Thanks for being patient and let us know if you run into any other issues.

0reactions
SidTrailheadcommented, Apr 17, 2021

Awesome, thanks for confirming it’s working for you now.

We see more people using the Apex Replay Debugger since Apex Debugger requires a license, so that could be it but please keep opening issues for bugs or feature requests.

Hi @lcampos , I am still facing the issue.

image

When I click on Launch Apex Replay debugger, nothing really happens. Please suggest what to do. I am using version v51.8.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot launch apex debugger #2160 - GitHub
Write an APEX class; Try to click the play button on Launch Apex Debugger. Expected result. The debugger would run. Actual result. I...
Read more >
Apex Debugger: Unable to launch debug through eclipse
Apex Debugger: Unable to launch debug through eclipse. Hi , I'm trying to debug using eclipse with apex debuggger. But facing below issue....
Read more >
Interactive Debugger Not Starting - Salesforce Stack Exchange
I have a sandbox org with my user assigned to a permission set that has the Apex Debug permission. I try to start...
Read more >
Getting Started with the Apex Replay Debugger in VSCode
First steps on how to use the Apex Replay Debugger in VSCode.Yep, I got my WhoId and WhatId mixed ... Your browser can't...
Read more >
Debugging Apex With Salesforce's Debug Logs ... - Blue Canvas
First, go to Setup and search for Debug Logs. debug-logs-search.png. Next, setup a new Trace Flag. A Trace Flag tells Salesforce to log...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found