Thermionic and photoelectric emission of electrons from positively charged particles in a plasma with Debye shielding