parameters: (address, filename, *extra, **kwargs)
docstring: Run pydevd for the given Python file.
docstring_summary: Run pydevd for the given Python file.
docstring_tokens: Run pydevd for the given Python file .
function: 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)
function_tokens: 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 )