There currently is one option to travel by night train from Kyiv (Ukraine) to Debrecen (Hungary), taking between approximately 39 and 40 hours: Namely the 9 operated by MÁV-Start.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.