def CreateServer(self):

    with open(self.filename) as stream:
      appinfo_external = appinfo_includes.Parse(stream)

    appengine_config = vmconfig.BuildVmAppengineEnvConfig()
    vmstub.Register(vmstub.VMStub(appengine_config.default_ticket))








    if 'googleclouddebugger' in sys.modules:
      try:
        googleclouddebugger.AttachDebugger()
      except Exception as e:
        logging.warn('Exception while initializing Cloud Debugger: %s',
                     traceback.format_exc(e))








    try:
      import appengine_config as user_appengine_config
    except __HOLE__:
      pass

    app = meta_app.FullyWrappedApp(appinfo_external, appengine_config)
    self.server = self.server_class(self.host, self.port, app,
                                    appinfo_external)
    logging.info('Configured server on %s:%s', self.host, self.port)
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/vmruntime/vmservice.py/VmService.CreateServer