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

Problems debugging a barebones create-react-app

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

Description

I'm trying to debug a barebones create-react-app and I'm a little bit confused by the instructions on how to setup vscode-firefox-debug. Below is my launch configuration:
```
{
"name": "Launch Firefox",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost:3000/index.html",
"webRoot": "${workspaceFolder}"
}
```
First, just launching my app from vscode is not enough for me to be able to debug it: it doesn't launch the app at all. I had to start the app from the terminal and then launch this configuration for vscode to start debugging the app, is that how it's supposed to be done? The Chrome debugger documentation makes this explicit but I'm not sure if that is the case for the Firefox debugger as well. Second, the launch configuration included in the documentation didn't work before I added the port number to the `url` field, was it supposed to work without it? Not sure if something is just fundamentally wrong in my setup or if it's working like it's supposed to now. Any help or pointers to further documentation to read would be appreciated.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par la configuration de lancement vscode-firefox-debug dans la documentation et comparez-la à la configuration create-react-app décrite ici. Déterminez si l’application doit être démarrée séparément et si l’URL nécessite le port 3000 ; le travail est considéré comme terminé lorsque la configuration documentée fonctionne ou que ses prérequis sont explicitement indiqués.

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

Évaluation

Stack technique
react, vscode
Domaine
developer-experience, documentation, tooling
Type d'issue
Documentation
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

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