remove newlines from node debug