1

Resolved

Debugger messes up __file__ of entry script

description

print(__name__)
print(__file__)
input()
Run under debugger (F5). Output:
__main__
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.0\visualstudio_py_launcher.py

comments