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.

Since Firefox 96 (maybe 95) I cannot set breakpoints in code

See original GitHub issue

I’m using firefox to debug my angular project for a few years now but since a week or two I cannot use the debugger anymore. It works perfectly with chrome though.

When I launch a session via the run and debug module of vscode, firefox starts but:

  • the debug console is empty
  • I cannot set any breakpoint in code
  • clicking the refresh button in vscode does not work
  • clicking the stop button kill the debug session but do not kill firefox

It seems they are not linked anymore. Others do not have this issue I guess as I do not find an open issue in this repo or references on the web. Yet nothing changed on my part except updating firefox.

Don’t know what to check at that point. Any help appreciated. Thanks.

My conf:

{
      "name": "Launch Firefox against localhost",
      "type": "firefox",
      "request": "launch",
      "reAttach": true,
      "url": "https://127.0.0.1:8080",
      "webRoot": "${workspaceFolder}",
      "profile": "default",
      "keepProfileChanges": true,
  },

VSCode: 1.63.0 Firefox: 96.0b3 OS: macOS 11.6.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
hbenlcommented, Dec 22, 2021

@jeandat The PR doesn’t go into Firefox but into version 2.9.6 of this VS Code extension, which I have just published.

1reaction
pablofierrocommented, Dec 14, 2021

👋 I’m experiencing similar issues where my project is no longer working with Firefox 96 (dev edition), I’m seeing the following logs:

WARN |000.105|TabActorProxy: Unknown message from TabActor: {"from":"server1.conn14.child10/windowGlobalTarget2","error":"Error","message":"Spec for 'windowGlobalTarget' specifies a 'attach' method that isn't implemented by the actor","fileName":"resource://devtools/shared/protocol/Actor.js","lineNumber":170,"columnNumber":17}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't set Debugger breakpoints - Mozilla Discourse
I cannot set breakpoints either, but it appears to be for inline javascript. I'm using ASP.NET and have a script tag.
Read more >
Cannot set breakpoints anymore on all javascript lines
I have a web application with about 1'000'000 lines of code and thousands of script sections. Debugging is not possible anymore. It seems...
Read more >
Set a breakpoint — Firefox Source Docs documentation - Mozilla
Highlight the line of code the breakpoint is set on and pressing Ctrl + B (Windows/Linux) or Cmd + B (macOS). Bring up...
Read more >
754251 - Can't set breakpoint in Script Debugger
This will be fixed by bug 737808. The problem is that when you first open the debugger, the script that corresponds to that...
Read more >
Tutorial: Set a breakpoint using Debugger - Firefox Source Docs
To do this, open the Firefox developer tools, click on the options gear at the upper right of the toolbox, and make sure...
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