Open pilgrim333 opened 4 years ago
I noticed that using UE4's python version and "File | Execute Python Script", UE4 complains with "No module named unreal_engine.classes" in my script:
sys.path.append("C:/Program Files/JetBrains/PyCharm 2019.3.1/plugins/python/helpers/pydev") import pydevd pydevd.stoptrace() pydevd.settrace('localhost', port=60058, stdoutToServer=True, stderrToServer=True, suspend=False) from unreal_engine.classes import PyFbxFactory print("hello")
If I run the above script using the embeded version of UnrealEnginePython's "Python Editor | Execute", UE4 does print out the "hello" but it prints out the WARNING below and it doesn't break at my set breakpoint:
pydev debugger: Unable to find real location for:
Any ideas what I can try next?
I was wondering if anyone has gotten pycharm or VSCode remote debug to work with UE4? If so, can you share? If not, is there anything else that works for debugging besides print statements? Thank you.