Cut the tofu into 1.5cm thick slices.
Sprinkle salt on the tofu and let it rest for 10 minutes to season.
Heat cooking oil in a pan and pan-fry the tofu slices on both sides until golden brown.
Finely chop onion, green onion, and spicy chili pepper.
Mix water, soy sauce, chili powder, minced garlic, sugar, and pepper to make the sauce.
Place the sauce and chopped vegetables over the grilled tofu.
Cover with a lid and braise over medium-low heat for 10 minutes.