GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — vscode-python/pythonFiles/ptvsd_launcher.py at master · tom-shan/vscode-python Expand file tree/ Copy pathptvsd_launcher.pyMore file actions 48 lines (42 loc) · 1.02 KB / Copy pathptvsd_launcher.pyFile metadata and controls48 lines (42 loc) · 1.02 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import os import os.path import sys import traceback useCustomPtvsd = sys.argv[1] == "--custom" ptvsdArgs = sys.argv[:] ptvsdArgs.pop(1) # Load the debugger package try: ptvsd_lib_path = os.path.join( os.path.dirname(__file__), "lib", "python", "old_ptvsd" ) if useCustomPtvsd: sys.path.append(ptvsd_lib_path) else: sys.path.insert(0, ptvsd_lib_path) try: import ptvsd from ptvsd.__main__ import main ptvsd_loaded = True except ImportError: ptvsd_loaded = False raise except: traceback.print_exc() print( """ Internal error detected. Please copy the above traceback and report at https://github.com/Microsoft/vscode-python/issues/new Press Enter to close. . .""" ) try: raw_input() except NameError: input() sys.exit(1) finally: if ptvsd_lib_path: sys.path.remove(ptvsd_lib_path) main(ptvsdArgs) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |