Configuring and using remote debugging