-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to make -start-debugger-server a default configuration option of Firefox? #315
Comments
Check this solution https://apple.stackexchange.com/questions/17476/how-can-i-force-command-line-arguments-to-a-program-shortcut-in-the-dock/17479#17479 it works for me |
what makes you think the OP is using a Mac? |
@TomasHubelbauer I suggest you install the Firefox Developer Editon to do web development work. It'll run side-by-side to mainstream or nightly editions. You might want to enable Settings Sync for your FF editions so FF Dev shares the same plugins and configuration -- pick and choose; Just disable "open tabs" 😁 Add the name of the dev edition profile to
then don't restart. Add the The extension README explains all options you can add to control FF. Since local storage is also part of the profile, launching with a new temp profile will of course give you an empty storage. And for security reasons this stuff is not shared between instances and apps. |
Firefox doesn't start with a debugger server by default (for good reason, we don't want anyone to be able to control your Firefox instance). |
Thanks folks! Appreciate all the thoughtful responses here. Hopefully they help others as well. Unfortunately I am looking for a workflow that's not supported. My ideal setup is one where I don't have to install Developer or use different profiles. I do think the limitations described are reasonable though and the proposed solutions might help others as well. |
I was able to get this extension to work in the launch mode, but when a new instance of Firefox launches with my debug target, I don't think it will share stuff like local storage and similar, so I won't be able to reuse any context I create while testing in my normal Firefox instance.
I figured configuring Firefox to enable the attach configuration scenario was the way to go, but it appears as though for it to work, Firefox needs to be launched with
-start-debugger-server
each time I want to enter a debugging session?If that's the case, I worry the inconvenience of having to restart Firefox each time and lose tabs etc. is too great and people won't make as much use of attaching to a running Firefox instance as they - I think - ought to.
Is there an
about:config
option that can instruct Firefox to start with the debugger server running each time or alternatively, start the debugger server when the developer tools are open, if it isn't running already? I believe this would greatly improve the DX around using VS Code with Firefox debugger.It is unfortunate as I am a Firefox user and I love the browser, but Firefox really lacks in ease of use when compared with Chrome here and it IMO hurts Firefox and its users alike.
The text was updated successfully, but these errors were encountered: