Wash and finely chop the chili peppers and onion.
Mix soy sauce, sugar, water, and minced garlic in a bowl.
Heat cooking oil in a pan and stir-fry the chili peppers and onion.
Add the sauce mixture and simmer over low heat for 2–3 minutes.
Transfer the finished chili soy sauce to a bowl.