A module to connect a Python interpreter to a running PyCharm remote debugging server.
Tested in DCC Applications;
- Maya
- Motionbuilder
- 3D Studio Max
- Blender
- Houdini
- Cascadeur
- Determine an available port number ie : 7520
- Start a remote debug configuration in PyCharm : link
- Run the following in the target Python interpreter :
import pycharm_debug
pycharm_debug.start(port=7520)
# True
If the pydevd
module is not yet discoverable for import, the latest PyCharm install is used instead.
This convenience allows developers to frequently update PyCharm without needing to re-add the new install location for pydevd
.
This module requires the pydevd
module, which is part of the PyCharm installation.
If not already available, it will attempt to automatically locate and import the
appropriate pydevd
module based on the installed PyCharm versions.
This module has been tested on Windows. Support for other operating systems may be added in the future.
This project is licensed under the MIT License.
Contributions are welcome! Please open an issue or submit a pull request.