1. In a large pot, add the chicken, onion, ginger, garlic, cinnamon, star anise, salt, and sugar. Cover with water and bring to a boil.
2. Reduce heat and simmer for about 45 minutes to 1 hour, until the chicken is cooked through.
3. Remove the chicken and let it cool. Strain the broth to remove solids and return the broth to the pot.
4. Shred the chicken meat and set aside.
5. Cook the rice noodles according to package instructions and divide them into bowls.
6. Top the noodles with shredded chicken, cilantro, green onions, and basil. Pour the hot broth over the top.
7. Serve with lime wedges and fish sauce on the side.