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.wait_for_debugger() 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 :)
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 726c3a0926cbe19538d8c66d5f8738207f2601d5098b8a2e0c45056fdf0c2d6d |
|
MD5 | bc4a945490f825906c25b378af414c41 |
|
BLAKE2b-256 | 18bb189d7adcec637a855fb19c01b653ce3adae7395a84bd08b3d5738bb9f1c5 |
Close
Hashes for pycharm_remote_debugger-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b4db7a65f1bf60b579a617224e290149a55a4e36334da834276ee5e68e1d005 |
|
MD5 | 0571c564f80aef6d12d3c1efb966a0fb |
|
BLAKE2b-256 | 55c7028e561a083032acc5dcf1541c0b98a7acc900abe4ec933568146c95ff39 |