Please find the attached patch which handles the long time taken to launch pgAdmin in debug mode.
Feature tests were failing as pgAdmin was tried to reach before it completed initialization.Currently if pgAdmin is launched with Debug=True, then on jenkins job its taking 70+ seconds for completing initialisation.