Live data from Hacker News

Firefox Debugger

mozilladevelopers.github.io

11–20 of 70 posts

Re: Firefox Debugger

#11
post #4

Sad to see a post by Mozilla only referencing Mac and Windows shortcuts to start the debugger. Most of the web developers I know are using Linux for web development, including javascript (some are using MacOS, none Windows). On Ubuntu, the debugger is started by using S (like Windows actually).

I don't know any Web developers using Linux on their desktops, as company policy requires Windows desktops. Linux is only used for Java based backends, when deploying into production. With .NET deployments being done on IIS, even with .NET Core. Some of the designers are using Photoshop on macOS. Anecdote data.

Depends on where you work. I work at a primarily Linux shop. I'm one of 3 people using Windows, compared to everyone else which are using Ubuntu and only one person is using Mac. Although in any regard, I find usually unless the Desktop Environment on Linux interferes most "Windows" commands work with Firefox on Linux. Oh and I'm usually dual-booting, so I'm either on Ubuntu or Windows whenever I'm doing web development.

Linux isn't just a distribution platform, it's also sensibly a development platform. I rather work on the system I'm building for if and when possible.

Edit:

I use .NET Core and while I have done it from Windows most of my time in the past few months, I also do code in .NET Core from Mac and Ubuntu (more Ubuntu than Mac). It works good enough so long as you use Visual Studio Code for debugging.

Re: Firefox Debugger

#12
post #8
post #3

Earlier quoted context omitted.

Are there any shortcuts on Linux which are different from those on Windows by default?

I agree. As a Linux user I always just assume they are the same as Windows.

Unless the Desktop Environment interferes with Firefox shortcuts. I've ran into oddities where a DE has hijacked a shortcut from happening, but I can't off the top of my head think of a specific case, I just remember it happening. Not on standard Ubuntu with Firefox though.

Re: Firefox Debugger

#13
post #10

Earlier quoted context omitted.

If we’re doing anecdata, then every web developer I know is on Macs, apart from those at the company I’m consulting for at the moment who have mostly standardised on Windows.

That was my point, each one has a different OS scenario depending where in the world we live on, the policies at workplace and customer sites.

If someone says that Linux should be included and mentions he knows a lot of web developers using Linux, then his added comment is relevant. Windows instructions were already included so your reply wasn't needed and I assume you didn't understand the Linux reply.

Re: Firefox Debugger

#14

Sad to see a post by Mozilla only referencing Mac and Windows shortcuts to start the debugger. Most of the web developers I know are using Linux for web development, including javascript (some are using MacOS, none Windows). On Ubuntu, the debugger is started by using S (like Windows actually).

> Sad to see a post by Mozilla only referencing Mac and Windows shortcuts to start the debugger. Most of the web developers I know are using Linux ...

Maybe because the shortcuts will be (slightly) different across the various Linux desktops (desktop environments and Linux distributions). There is not one Linux desktop like there's one macOS or one Windows.

Re: Firefox Debugger

#15
post #4

Sad to see a post by Mozilla only referencing Mac and Windows shortcuts to start the debugger. Most of the web developers I know are using Linux for web development, including javascript (some are using MacOS, none Windows). On Ubuntu, the debugger is started by using S (like Windows actually).

I don't know any Web developers using Linux on their desktops, as company policy requires Windows desktops. Linux is only used for Java based backends, when deploying into production. With .NET deployments being done on IIS, even with .NET Core. Some of the designers are using Photoshop on macOS. Anecdote data.

Personally, I don't imagine working under any other OS than Linux as a web developer. And hey, Java and .NET Core/Mono is quite pleasant to work with under non-Windows operating system.

Re: Firefox Debugger

#19

Sad to see a post by Mozilla only referencing Mac and Windows shortcuts to start the debugger. Most of the web developers I know are using Linux for web development, including javascript (some are using MacOS, none Windows). On Ubuntu, the debugger is started by using S (like Windows actually).

> Sad to see a post by Mozilla only referencing Mac and Windows shortcuts to start the debugger. Most of the web developers I know are using Linux ... Maybe because the shortcuts will be (slightly) different across the various Linux desktops (desktop environments and Linux distributions). There is not one Linux desktop like there's one macOS or one Windows.

I'm quite sure Firefox-specific shortcuts are independent of DE.

Re: Firefox Debugger

#20
Here's something which is still missing from both Firefox and Chrome debuggers: "tracing" breakpoints.

That's one of the few nice/advanced features from Xcode and Safari, aside from making a breakpoint conditional you can:

* skip it the first n times (default: 0)

* make it non-breaking

* associate various actions which are executed if the breakpoint "triggers" (the condition matches) even if the breakpoint is non-breaking, in Safari these actions are "Log Message" (formatted plain text), "Evaluate" (arbitrary javascript code), "Play Sound" (beep on every tripping of the breakpoint) and "Probe Expression"[0]: https://webkit.org/blog/5435/breakpoint-options/

[0] a special kind of table logging which integrates with the debugger rather than the (separate) console tab

Post reply on HN