Added debug option

Useful for remote debugging