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
- 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
.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pycharm_debug-0.4.0.tar.gz
.
File metadata
- Download URL: pycharm_debug-0.4.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239dec65b74e6b7fb7aba41e37759c5e39242313a30665f94ab63da0cae4f8f1 |
|
MD5 | 6f361cda3866638544840fcea5abfb75 |
|
BLAKE2b-256 | 07d58ea7f45a638aba758090b5ac49bf4faba2cee77c4e45c3b95316dcab4291 |
File details
Details for the file pycharm_debug-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pycharm_debug-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db8a75edad369f4199b2c0bb90459d94d15bdc2a4de975177cf54614c2f75823 |
|
MD5 | 157f76dd7eb9998b50ff2be05d67b0fb |
|
BLAKE2b-256 | ad2010599eebd08b0c065cfd65b8614900cdf71bef6bab8c03988feb125548a2 |