2.8 Debug Mode on Mac

blender2-80

(MichaelSheaver) #1

Using the current build of 2.8 for Mac, I am trying to set up script debugging using the instructions at [https://wiki.blender.org/wiki/Tools/Debugging/Python_Eclipse]. Eclipse is listening and does detect when I run the script in Blender, but instead of opening up the debug window to the running script, Eclipse prompts me to open a file.

Here is the code I have inserted in the top of the script:

PYDEV_SOURCE_DIR = "/Users/michaelsheaver/.p2/pool/plugins/org.python.pydev.core_7.0.3.201811082356/pysrc/"
import sys

if PYDEV_SOURCE_DIR not in sys.path:
    sys.path.append(PYDEV_SOURCE_DIR)

import pydevd
pydevd.settrace()

Does anyone have any idea what might be wrong?