[Help] Couldn't find the Firefox executable. Please correct the path given in your launch configuration.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript, vscode
- Ambito
- developer-experience, tooling
Direzione di ricerca
Inizia con le configurazioni launch.json segnalate e l’impostazione firefox.executable di VS Code, quindi riproduci il malfunzionamento di Run and Debug usando il percorso di Firefox Developer Edition su Windows. Il lavoro è completato quando l’estensione accetta l’eseguibile configurato e avvia Firefox oppure vi si connette senza l’errore segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Overview of the Problem
I can't get RUN AND DEBUG to work. It says it can't find my firefox executable:
launch.json Changes
I've changed my launch.json to include "firefoxExecutable": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe" in all configurations.
launch.json Content
{
// Firefox debug configurations for the "Debugger for Firefox" extension
// (firefox-devtools.vscode-firefox-debug).
//
// Pick a configuration from the Run and Debug dropdown, then press F5.
//
// - "Firefox: Current file (file://)" -> debug whatever HTML file is
// currently active in the editor
// - "Firefox: Main test page (file://)" -> debug Chromatic Pro Var.html
// regardless of which file is active
// - "Firefox: Current file via localhost" -> serve the workspace over HTTP
// (npx serve) and debug the active
// HTML file at http://localhost:5500
// - "Firefox: Attach to running Firefox" -> attach to a Firefox instance you
// started yourself with remote
// debugging enabled (port 6000)
"version": "0.2.0",
"configurations": [
{
"name": "Firefox: Current file (file://)",
"type": "firefox",
"request": "launch",
"reAttach": true,
"file": "${file}",
"pathMappings": [
{
"url": "file://${workspaceFolder}",
"path": "${workspaceFolder}"
}
],
"keepProfileChanges": true,
"log": {
"fileName": "${workspaceFolder}/.vscode/firefox-debug.log",
"fileLevel": {
"default": "Warn"
}
},
"firefoxExecutable": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe"
},
{
"name": "Firefox: Main test page (file://)",
"type": "firefox",
"request": "launch",
"reAttach": true,
"file": "${workspaceFolder}/Chromatic Pro Var.html",
"pathMappings": [
{
"url": "file://${workspaceFolder}",
"path": "${workspaceFolder}"
}
],
"keepProfileChanges": true,
"firefoxExecutable": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe"
},
{
"name": "Firefox: Current file via localhost",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost:5500/${fileBasename}",
"webRoot": "${workspaceFolder}",
"preLaunchTask": "serve workspace on :5500",
"postDebugTask": "stop server",
"keepProfileChanges": true,
"firefoxExecutable": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe"
},
{
"name": "Firefox: Attach to running Firefox",
"type": "firefox",
"request": "attach",
"port": 6000,
"host": "localhost",
"firefoxExecutable": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe",
"pathMappings": [
{
"url": "file://${workspaceFolder}",
"path": "${workspaceFolder}"
},
{
"url": "http://localhost:5500",
"path": "${workspaceFolder}"
}
]
}
]
}
VS Code Settings Changes
I've changed the following VS Code settings to point to my Firefox path:
firefox.executable("C:\Program Files\Firefox Developer Edition\firefox.exe")workbench.externalBrowser("C:\Program Files\Firefox Developer Edition\firefox.exe")
All of the "firefoxExecutable" entries are correct. My system's Firefox installation is at C:\Program Files\Firefox Developer Edition\firefox.exe.
Firefox about:config Changes
I changed the following values in about:config in FF:
devtools.debugger.remote-enabledtotruedevtools.chrome.enabledtotrue
Help Request
After all of these edits, I still cannot debug from the "RUN AND DEBUG" window. Still getting the Couldn't find the Firefox executable. Please correct the path given in your launch configuration. error.
Can someone explain to me the correct way to configure this plugin so I can debug with FF Dev Edition?
I have no clue why it's not working.
Thank you in advance for any help at all.
- Lingua principale
- TypeScript
- Stelle
- 447
- Fork
- 76
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di firefox-devtools/vscode-firefox-debug
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
firefox-devtools/vscode-firefox-debug#391 · 2 commenti · 1 reazione ·
-
bug path mapping
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
CastleAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
-
Create new issueAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
firefox-devtools/vscode-firefox-debug#390 · 1 commento ·
Tutte le issue di firefox-devtools/vscode-firefox-debug
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
inu-appcenter/memorIN-frontend#106 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 7 giorni
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
fix: CopyFilters ignores tabApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
CSCfi/sd-search-ui#145 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Cbeebies pl SDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno