added the possibility to start a domain on debug