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

Delay for debugger to attach

Ouverte
#92 13 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug needs more info
Langage dominant
TypeScript
Étoiles
447
Forks
76
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier source ni aucun test n’est indiqué. Reproduisez le problème à l’aide de la configuration de lancement VS Code Firefox fournie et observez à quel moment le navigateur s’ouvre, les breakpoints s’activent et le menu contextuel devient utilisable. Le travail est considéré comme terminé lorsque la cause du délai d’attach d’environ 30 secondes a été identifiée et qu’un fix vérifié ou l’étape de diagnostic suivante a été documenté.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript, vscode
Domaine
devtools, tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.