firefox-devtools / firefox-devtools/vscode-firefox-debug

Delay for debugger to attach

Open
#92 13 comments 0 reactions 0 assignees View on GitHub
bug needs more info
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

I'm experiencing a delay between launching the debugger in VS Code and having the debugger fully attach. The browser opens, and the page loads, but all of the breakpoints in VS Code are grayed out and the context menu in the browser won't open. After about 30 seconds, the debugger finally finishes attaching, the breakpoints become active, and the context menu starts working in the browser. I'm on a Mac with the latest version of iOS, Firefox and VS Code, using the following config;
```
{
"name": "Launch Firefox",
"type": "firefox",
"request": "launch",
"url": "http://localhost:3000",
"pathMappings": [
{
"url": "http://localhost:3000/path/to/my-repo/",
"path": "${workspaceFolder}/"
}
]
}
```

Any ideas what might be causing this delay? Has anyone else experienced this? I'm happy to help debug further, but I'm not sure where to start looking, so any hints would be helpful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.