Remote Debugger - weird path, "can't be found in project. "


After switching to version 2019 of Pycharm I've got a problem with remote debugger. It cannot find path of .py files, instead of real path It's displaying a disorted one, like it has some problems with encoding.

I'm getting a message like:

[...] can't be found in project. You can continue debugging, but without the source. [...]

e.g. if file is in c:/directory I'm seeing c%3A%5Cdirectory


import pydevd
print pydevd.__version__
pydevd.settrace('localhost', port=6667, stdoutToServer=True, stderrToServer=True)

Comment actions Permalink

Could you share a screenshot of your run configuration?

Comment actions Permalink

I'm running this script from interpreter embeded in Autodesk Maya 2017, it worked fine with previous version of PyCharm:

# Result: '2.7.11 (default, Dec 21 2015, 22:48:54) [MSC v.1700 64 bit (AMD64)]' #


oh, right, run configuration of remote debugger:

Comment actions Permalink

I just tried starting a Python script with Maya interpreter and it worked fine after it connected to the debug server.

How do you start the script? Is it something like mayapy.exe


Please sign in to leave a comment.