def launch(self, program=None, args=None, cwd=None, env=None, stopOnEntry=False, disableASLR=True, disableSTDIO=False, shellExpandArguments=False, trace=False, initCommands=None, preRunCommands=None, stopCommands=None, exitCommands=None, sourcePath=None, debuggerRoot=None, launchCommands=None, sourceMap=None):
    'Sending launch request to vscode\n        '

    def cleanup():
        self.vscode.request_disconnect(terminateDebuggee=True)
        self.vscode.terminate()
    self.addTearDownHook(cleanup)
    self.vscode.request_initialize()
    response = self.vscode.request_launch(program, args=args, cwd=cwd, env=env, stopOnEntry=stopOnEntry, disableASLR=disableASLR, disableSTDIO=disableSTDIO, shellExpandArguments=shellExpandArguments, trace=trace, initCommands=initCommands, preRunCommands=preRunCommands, stopCommands=stopCommands, exitCommands=exitCommands, sourcePath=sourcePath, debuggerRoot=debuggerRoot, launchCommands=launchCommands, sourceMap=sourceMap)
    if (not (response and response['success'])):
        self.assertTrue(response['success'], ('launch failed (%s)' % response['message']))
Sending launch request to vscode
def launch(self, program=None, args=None, cwd=None, env=None, stopOnEntry=False, disableASLR=True, disableSTDIO=False, shellExpandArguments=False, trace=False, initCommands=None, preRunCommands=None, stopCommands=None, exitCommands=None, sourcePath=None, debuggerRoot=None, launchCommands=None, sourceMap=None):
    '\n        '

    def cleanup():
        self.vscode.request_disconnect(terminateDebuggee=True)
        self.vscode.terminate()
    self.addTearDownHook(cleanup)
    self.vscode.request_initialize()
    response = self.vscode.request_launch(program, args=args, cwd=cwd, env=env, stopOnEntry=stopOnEntry, disableASLR=disableASLR, disableSTDIO=disableSTDIO, shellExpandArguments=shellExpandArguments, trace=trace, initCommands=initCommands, preRunCommands=preRunCommands, stopCommands=stopCommands, exitCommands=exitCommands, sourcePath=sourcePath, debuggerRoot=debuggerRoot, launchCommands=launchCommands, sourceMap=sourceMap)
    if (not (response and response['success'])):
        self.assertTrue(response['success'], ('launch failed (%s)' % response['message']))