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: How does your development loop look like?

2 pointsby break_the_bankabout 2 years ago
1. Do you run the binary&#x2F;service locally at all?<p>2. If you do; how do you run it and where do you run it from?<p>3. How do you pass configuration to the binary&#x2F;service?<p>4. How do you setup services that your binary&#x2F;service depends on?<p>5. How do you run debugging loops? Print statements? Debuggers?<p>I have a pretty simple setup where I use an IDE to run tests but to run the binary I use my terminal. For debugging I usually use the debugger built into the IDE. Back when I wrote CPP I used gdb but I do prefer the visual debuggers that Jetbrains ships their IDEs with.

2 comments

PaulHouleabout 2 years ago
1. Yes<p>2. Sometimes the run button of the IDE, sometimes the command line<p>3. Database connection parameters, API keys and such go in a .dotfile; parameters that might change from run to run usually go in command line argument; special flags for debugging go in environment variables<p>4. Usually I&#x27;ve got a database (pgsql, arangodb) running as a &quot;service&quot; in the operating system on the local machine. In one case I start up an antivirus server that one application needs.
评论 #35542153 未加载
smt88about 2 years ago
What stack do you use? It sounds like you don&#x27;t use a debugger, which is like hearing that someone is searching a dark cave without a flashlight.
评论 #35539876 未加载