#script to run: SCRIPT = "/media/KeyBeuvron/beuvron/cours/modP3D/programmes/pyBlenderLinuxWorkspace/testPython/src/collier.py" #path to your org.python.pydev.debug* folder (it may have different version number, in your configuration): PYDEVD_PATH='/opt/P3D/eclipse/plugins/org.python.pydev_2.7.1.2012100913/pysrc' import pydev_debug as pydev pydev.debug(SCRIPT, PYDEVD_PATH)
# see http://airplanes3d.net/pydev-000_e.xml import sys import os # SCRIPT = script to run # PYDEVD_PATH = path to the pycharm PyDev folder (or other ide) that contains a file named pydevd.py if os.name in 'nt': SCRIPT = 'C:\\Users\John\\Documents\\git\\Blender_Debug_With_PyCharm\\move_x_by_1.py' PYDEVD_PATH = 'C:\\Program Files\\JetBrains\\PyCharm 2020.1.2\\plugins\\python\helpers\\pydev' else: SCRIPT = '/home/john/git/Blender_Debug_With_PyCharm/move_x_by_1.py' PYDEVD_PATH = '/home/john/pycharm-2019.2.1/helpers/pydev' # import pydev_debug which should be in your SCRIPT directory (or elsewhere if you choose) pydev_debug_dir = os.path.dirname(SCRIPT) if sys.path.count(pydev_debug_dir) < 1: sys.path.append(pydev_debug_dir) import pydev_debug as pydev pydev.debug(SCRIPT, PYDEVD_PATH, trace=True)
#script to run: SCRIPT = "test_blender.py" #path to your org.python.pydev.debug* folder (it may have different version number, in your configuration): PYDEVD_PATH='/Applications/eclipse/plugins/org.python.pydev_4.0.0.201504132356/pysrc/' PYDEV_DEBUG_PATH='/Applications/Blender/' import sys sys.path.append(PYDEV_DEBUG_PATH) import pydev_debug as pydev debugmode = False pydev.debug(SCRIPT, PYDEVD_PATH, debugmode)
#script to run: SCRIPT = "/Volumes/Data/Code/github/brad/src/brad.py" #path to your org.python.pydev.debug* folder (it may have different version number, in your configuration): PYDEVD_PATH = '/Applications/eclipse/plugins/org.python.pydev_2.7.5.2013052819/pysrc' import pydev_debug as pydev pydev.debug(SCRIPT, PYDEVD_PATH)
#script to run: #SCRIPT = "/home/t/py/other/Bevel/src/bevel.py" SCRIPT = "/home/t/py/other/Edges/edges/edges.py" #path to your org.python.pydev.debug* folder (it may have different version number, in your configuration): PYDEVD_PATH='/home/t/.eclipse/org.eclipse.platform_3.8_155965261/plugins/org.python.pydev_3.6.0.201406232321/pysrc' try: import pydev_debug as pydev except ImportError: import sys plugin_path = '/home/t/blender-2.71-linux-glibc211-x86_64/pydev-blender/' sys.path.append(plugin_path) import pydev_debug as pydev pydev.debug(SCRIPT, PYDEVD_PATH, trace=True)