IDE-1033

Add the debugger port and password validation and set them to be not none, set the port number to vary between 1025 and 65525.