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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3da1ffe5c8e780c89716ae02b5bfa9441445bd8411848e7b12ca632c4e9a7a84 |
|
MD5 | b951f6cfe4c7b1d0621c7be45a8c528f |
|
BLAKE2b-256 | 18445986385ddb9a8b52801d49040e8427341cd2011da3c66e8c0549558d51c7 |
Close
Hashes for pycharm_remote_debugger-0.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62a82e7a4cd60c18d707cd7c00f357f3785bc40cd8c09256dd8c75ecfe51bc8a |
|
MD5 | 8247193f3bfa3c08fc67f79b2df5006a |
|
BLAKE2b-256 | 1d3ee1a0593a6574bf8a7711e48ee53f50c865ba675994498990bbf119f5faeb |