News for hackers. Stuff that matters.
Re:Ask HN: What Is the Hype with Docker? by jker on Tuesday October 25, 2022 @12:39AM (#33326315)
Quite the contrary, I’ve found Docker to be absolutely indispensable for local dev, particularly when I’m debugging various cloud-targeted components, e.g. AWS Lambdas and Step functions. A container can nicely simulate most of the running environment of those things, and mock everything else. Docker + JetBrains IDE is a must-have for that reason
Re:Ask HN: What Is the Hype with Docker? by mboehm on Tuesday October 25, 2022 @01:33AM (#33326621)
What images do you use? I would love to hear about your setup to debug lambda functions.
Re:Ask HN: What Is the Hype with Docker? by jker on Tuesday October 25, 2022 @02:34AM (#33326999)
I use the AWS Toolkit for PyCharm; it automates most of the process, including pulling an image (built by Amazon, I believe) that emulates the Lambda environment. All I have to do is write the Lambda function with the correct method signature, designate it as such, start a debug session, and PyCharm + Docker do the rest. It's insane that PyCharm Professional only costs $100 or so, it saves me that much in development time in a single day.

Edit: all of the above will work with the free version of PyCharm, I believe, but without the in-IDE control panel for Docker (which you don't absolutely need).