(address, filename, *extra, **kwargs)
Run pydevd for the given Python file.
Run pydevd for the given Python file.
Run pydevd for the given Python file .
def run_file(address, filename, *extra, **kwargs):
    """Run pydevd for the given Python file."""
    addr = Address.from_raw(address)
    if not addr.isserver:
        kwargs['singlesession'] = True
    run = kwargs.pop('_run', _run)
    prog = kwargs.pop('_prog', sys.argv[0])
    argv = _run_argv(addr, filename, extra, _prog=prog)
    run(argv, addr, **kwargs)
def run_file ( address , filename , * extra , * * kwargs ) : addr = Address . from_raw ( address ) if not addr . isserver : kwargs [ 'singlesession' ] = True run = kwargs . pop ( '_run' , _run ) prog = kwargs . pop ( '_prog' , sys . argv [ 0 ] ) argv = _run_argv ( addr , filename , extra , _prog = prog ) run ( argv , addr , * * kwargs )