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.

Ask HN: What are some devtool hacks you use on a daily basis?

6 pointsby Exorustover 2 years ago
What are some of the cool devtools or devtool hacks you use on a daily basis?

4 comments

throwaway0asdover 2 years ago
Simplified browser test automation without use of CDP that uses tests composed of a data structure that simply walks the DOM. Quick and easy event execution.<p>A small script that converts a few key files so that the rest of the Node application builds as commonJS instead of ECMA modules.<p>Custom DOM methods to get elements by text or get elements by attribute or attribute value or content type.<p>An https certificate generator and domains that point to loopback IPs.<p>Automated command line documentation for all the options and various switches of the many various commands in my big terminal application.<p>A terminal clock tool shows how long each step and groups of steps take to execute in test automation and build tasks in nanoseconds.<p>Embedding state data directly into the HTML so that it’s there when the page is first accessed by JavaScript without a call for additional state artifacts.
jhoelzelover 2 years ago
I handle all my clients in a dev container with visual studio code.<p>This way im perfectly able to jump from client to client without having them share any base at all.<p>It also possible to simply use ssh to another machine, but having the dev container gives me the possibility to separate everything from each other and having a versioned dockerfile helps to quickly jump between different kubernetes versions or any other dependency that i have.<p>Another one is distroless deployments. I know it sounds moot, but havinga tool you need setup in a container that you can just freshly build from sources and run it, is a really nice touch. Especially since they are usually less than 100 mb
Blakhackover 2 years ago
<a href="https:&#x2F;&#x2F;www.facebook.com&#x2F;tira.gapay" rel="nofollow">https:&#x2F;&#x2F;www.facebook.com&#x2F;tira.gapay</a>
nicbouover 2 years ago
$0 to reference to the currently selected element. For example, $0.innerHTML.