add debug line drawing