How to debug an infinite loop? #10841
Labels
area: configuration
Configuring LocalStack
status: response required
Waiting for a response from the reporter
type: bug
Bug report
Is there an existing issue for this?
Current Behavior
When I run Localstack, it goes into an infinite loop. I'd like to get insights on why this is the case and how I should approach debugging it.
It's most likely due to my init script. I don't know what exactly I'm doing wrong there. Ideally, I want Localstack to tell me I'm doing something wrong and error out. However, little information is shown in the console and I have to basically rely on guess and luck to find the source of the problem.
The log I keep seeing in the loop is:
It keeps printing this into the console in a loop and eats all my machine's resources. How can I debug this issue?
Expected Behavior
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
I can't share my init file because it's a proprietary project.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: