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 — pythonVSCode/pythonFiles/ptvsd_launcher.py at master · Hedalixin/pythonVSCode Expand file tree/ Copy pathptvsd_launcher.pyMore file actions 45 lines (40 loc) · 1.06 KB / Copy pathptvsd_launcher.pyFile metadata and controls45 lines (40 loc) · 1.06 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 # 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: ptvs_lib_path = os.path.join(os.path.dirname(__file__), 'lib', 'python') if useCustomPtvsd: sys.path.append(ptvs_lib_path) else: sys.path.insert(0, ptvs_lib_path) try: import ptvsd import ptvsd.debugger as vspd from ptvsd.__main__ import main ptvsd_loaded = True except ImportError: ptvsd_loaded = False raise vspd.DONT_DEBUG.append(os.path.normcase(__file__)) 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 ptvs_lib_path: sys.path.remove(ptvs_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. |