Cut the tofu into bite-sized pieces.
Finely slice the green onion and onion.
Pour cooking oil into a pot and sauté minced garlic and green onion.
Add the onion and sauté together.
Pour in water and bring to a boil.
When the broth boils, add the soft tofu.
Season with salted shrimp, salt, and soup soy sauce.
Beat in the egg.
Finally, add sliced chili pepper and sprinkle black pepper.