Skip to main content

Connection helper for PyCharm Python Remote Debugging.

Project description

pycharm_debug

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

Usage

  1. Determine an available port number ie : 7520
  2. Start a remote debug configuration in PyCharm : link
  3. 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.

Functions

pycharm_debug.start(port=7200, host='localhost')

Requirements

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.

Compatibility

This module has been tested on Windows. Support for other operating systems may be added in the future.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycharm_debug-0.4.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

pycharm_debug-0.4.0-py2.py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page