Added support for remote debugging