Easily debug your remote project
Project description
Pycharm Remote Debugger
With PyCharm you can debug your application using an interpreter that is located on the other computer, for example, on a web server or dedicated test machine.
Installation
pip install pycharm_remote_debugger
Steps
- Create a deployment configuration for a remote interpreter.
- Ensure that you have SSH access to the remote machine
- Deploy your application to a remote host
- Create a Python Debug Server run/debug configuration
- Specify the port number, and the IDE host address
- Map the path on the local machine to the path on the remote machine
- Make sure you are installing pycharm_remote_debugger on the remote machine/container
- Run your software using pycharm_remote_debugger module:
- Create and entry point file that execute your code and login to the debugger.
from pycharm_remote_debugger import PycharmRemoteDebugger remote_addr = "10.2.55.1" port = 6789 debugger = PycharmRemoteDebugger(remote_addr, int(port)) debugger.debug() main() # run your software here
- Use the command line:
python -m pycharm_remote_debugger -r 10.2.55.1 -p 6789 -m my_module_name -k module_arg1 -s -k module_arg2
- Start debugger on pycharm
- Debug your program :)
Arguments:
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
Close
Hashes for pycharm_remote_debugger-0.1.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a593eaa10bac9cf9fd3c29a3124ae867041aaf1c0432f38293e6f6d983279704 |
|
MD5 | 191c25dbe8a39e5d6ee5140ccba1ca33 |
|
BLAKE2b-256 | 944deeef682dfba6546245cf8a2133aecc816622adcab98abdc9f1777df4f251 |
Close
Hashes for pycharm_remote_debugger-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b03394aec8da89c7c719b31b09f61aa8729df48b518e71c361e4b8ffef06cb49 |
|
MD5 | fd2a53b8debda790007112f3d86ee542 |
|
BLAKE2b-256 | 9558aae202bf3d1350f69370af819aca7d4afe33fb9e90cd02bf41c202a54a9e |