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.
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
- 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 = 1324
debugger = PycharmRemoteDebugger(remote_addr, int(port))
debugger.wait_for_debugger()
main() # run your software here
- Start debugger on pycharm
- Debug your program :)
Note: Soon there will be a cli tool for executing any python program (development in progress)
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.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 569ba6f31c7e20be9e4d7b95daf6f9f79f67f7acef606b908af0a0853ea6242f |
|
MD5 | 09a58a9382bf6e41cc8ad68ba8b24a7a |
|
BLAKE2b-256 | 901babbe503b21501d90291599c7fc5cfd504ce9854cb781391cedb0c0700293 |
Close
Hashes for pycharm_remote_debugger-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 903cee87181d48e90e2e992ae7502ec29946e04492422f25cc82b8a078da843e |
|
MD5 | d3e73b2335cffccc7aa06505f9d06e45 |
|
BLAKE2b-256 | 60d558863e436939a4541eb1358ee2aa3534dde2c654192cb27e9076b309fd34 |