debugging spawn