Closed
Description
Is this a feature request or a bug?
bug
What is the current behavior?
web-ext run --verbose --firefox "deved" --firefox-profile=mc02 --profile-create-if-missing --source-dir=$PWD --devtools --no-config-discovery
errors out with connection refused message before firefox opens a window.
i tried with several new profiles, to no avail.
one problem seems to be that 'Firefox closed' – see logs below – before remote.js tries to connect?
web-ext run --verbose --firefox "deved" --firefox-profile=mc02 --profile-create-if-missing --source-dir=$PWD --devtools --no-config-discovery
[.../node_modules/web-ext/lib/program.js][info] Version: 7.8.0
[.../node_modules/web-ext/lib/program.js][debug] Not discovering config files
[.../node_modules/web-ext/lib/cmd/run.js][info] Running web extension from /tmp/extension
[.../node_modules/web-ext/lib/util/manifest.js][debug] Validating manifest at /tmp/extension/manifest.json
[.../node_modules/web-ext/lib/cmd/run.js][info] Profile directory mc02 already exists
[.../node_modules/web-ext/lib/extension-runners/firefox-desktop.js][debug] Copying Firefox profile from mc02
[.../node_modules/web-ext/lib/firefox/index.js][debug] Copying profile directory from "mc02"
[.../node_modules/web-ext/lib/firefox/index.js][debug] Running Firefox with profile at /var/folders/jh/vlccfrws7bn0gmdj2b34mt040000gn/T/firefox-profileFN6h9Q/
[.../node_modules/web-ext/lib/firefox/index.js][debug] Executing Firefox binary: /Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin
[.../node_modules/web-ext/lib/firefox/index.js][debug] Firefox args: -start-debugger-server 50539 -foreground -no-remote -profile /var/folders/jh/vlccfrws7bn0gmdj2b34mt040000gn/T/firefox-profileFN6h9Q/
[.../node_modules/web-ext/lib/firefox/index.js][info] More info about WebExtensions debugging:
[.../node_modules/web-ext/lib/firefox/index.js][info] https://extensionworkshop.com/documentation/develop/debugging/
[.../node_modules/web-ext/lib/firefox/remote.js][debug] Connecting to the remote Firefox debugger
[.../node_modules/web-ext/lib/firefox/remote.js][debug] Connecting to Firefox on port 50539
[.../node_modules/web-ext/lib/firefox/index.js][debug] Firefox closed
[.../node_modules/web-ext/lib/firefox/remote.js][debug] Retrying Firefox (0); connection error: Error: connect ECONNREFUSED 127.0.0.1:50539
[.../node_modules/web-ext/lib/firefox/remote.js][debug] Connecting to Firefox on port 50539
[.../node_modules/web-ext/lib/firefox/remote.js][debug] Retrying Firefox (1); connection error: Error: connect ECONNREFUSED 127.0.0.1:50539
What is the expected or desired behavior?
run extension debug session
Version information (for bug reports)
- Firefox version: 121.0b6 (64-bit) Dev Ed
- Your OS and version: macos sonoma 14.1.1
- Paste the output of these commands:
node --version && npm --version && web-ext --version
v18.18.2
9.8.1
7.8.0
Metadata
Metadata
Assignees
Labels
No labels