TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introducing the Firefox debugger.html

500 pointsby clarkbwover 8 years ago

16 comments

arsover 8 years ago
I don&#x27;t know if anyone from the team is reading this, but I&#x27;ll tell you want I want from a Javascript debugger:<p>I want to be able to modify&#x2F;add code, try it out, then rewind, and try something else. Then save my changes once they work perfectly.<p>Simply setting breakpoints and watching variables is nice, but I can do basically the same thing by echoing&#x2F;console.log&#x27;ing things. If you are going to go to the effort of making a debugger, then make it do something I can&#x27;t do another way.
评论 #12500577 未加载
评论 #12501274 未加载
评论 #12498823 未加载
评论 #12500215 未加载
评论 #12501171 未加载
评论 #12501339 未加载
评论 #12498862 未加载
评论 #12500504 未加载
lol768over 8 years ago
Is this expected to be faster than the XUL based stuff? Currently &quot;React&quot; to me makes me think poor performance, simply due to bad experiences I&#x27;ve had with web applications and &#x27;native applications&#x27; (read: web browser wrappers).<p>Surely there&#x27;s going to be overhead using the remote debug protocol, it looks like it&#x27;s built on JSON so every response is going to need to be deserialised? I can understand that it&#x27;s nice to have the official tools using the same APIs that external tools would use, though (and supporting multiple targets is a nice benefit).<p>Further (and this is perhaps less on-topic), why do all UIs need to be written in HTML&#x2F;CSS these days to be considered &quot;modern&quot;? More broadly speaking, is a GTK or Qt interface going to be less performant than something using a browser engine? The motivation I&#x27;ve seen at a lot of companies seems to be that they already have web designers who can design web pages, and so these people are put to work designing desktop applications too. That&#x27;s all well and good, but it seems to often result in a poor user experience and be visually different from the rest of the OS.
评论 #12501537 未加载
评论 #12501657 未加载
评论 #12507034 未加载
评论 #12504408 未加载
iynover 8 years ago
Talk about the refactoring from React Rally: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Fk--XUEorvc&amp;t=8542s" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Fk--XUEorvc&amp;t=8542s</a> (starts at 2:22:22)
评论 #12499061 未加载
clarkbwover 8 years ago
The debugger landed in Nightly today, its not quite ready for prime time yet but on by default and getting updated regularly. <a href="https:&#x2F;&#x2F;nightly.mozilla.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nightly.mozilla.org&#x2F;</a>
daenneyover 8 years ago
Am I the only one that finds it amusing that a JS debugger is called debugger.html?<p>debugger.DOM, sure, .JS even, but .html?
评论 #12498692 未加载
评论 #12498688 未加载
评论 #12498702 未加载
评论 #12498819 未加载
评论 #12513156 未加载
评论 #12498762 未加载
zimbatmover 8 years ago
Pretty impressive for a project that started end of March! (first commit timestamp)
评论 #12499261 未加载
mikegirouardover 8 years ago
I&#x27;m sure it&#x27;s been considered already, but I&#x27;m immediately concerned about the security implications of running a node server when debugging. Perhaps that is only the case when debugging in a stand-alone setup?<p>Think if you RDP to Firefox or Chrome and forget that the server is running. Does that mean that if I browse to <a href="http:&#x2F;&#x2F;your.machine:8000" rel="nofollow">http:&#x2F;&#x2F;your.machine:8000</a> that I can control your browser?
评论 #12499963 未加载
评论 #12499552 未加载
partizanosover 8 years ago
Another feature I was trying to find was a way to see the history log of changes of a variable and the lines where it happened, between two program states.
评论 #12500255 未加载
XCSmeover 8 years ago
So, is it better than the Chrome built-in debugger? :D
sunilkumarcover 8 years ago
&#x27;.html&#x27; in the name makes it sound like a not so important product from Firefox. I think they could&#x27;ve chosen a better name.
评论 #12500575 未加载
dmanover 8 years ago
Any chances of using this as a frontend to lldb&#x2F;gdb for c&#x2F;c++ debugging?
garaetjjteover 8 years ago
Oh no. Why there is a trend to write browser components in HTML and JS?
评论 #12501292 未加载
rattrayover 8 years ago
How do people currently debug node code? Is this a major or minor advance in that world?
评论 #12502538 未加载
edibleEnergyover 8 years ago
Very cool, looking forward to getting a deeper look at the source code. Nice work!
mathiasrwover 8 years ago
Any good reason they have not published via npm?
aikahover 8 years ago
I&#x27;d say just look at Chrome dev tools and copy them at this point. Debugging in Firefox is a mediocre experience IMHO. As for the name .html is unnecessary.
评论 #12500673 未加载