Once oil is glistening, add onions and jalapeños. Make sure you have the vents on high as the capsicum from the peppers will surely clear your nasal passages. Season with salt, pepper, and sugar. Cook mixture until onions are caramelized and jalapeños are nice and seared. Remove from pan and set aside. Keep warm.