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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72256c1a1111e093b00be0b00b854265424513a92382923eacb05c6b9139c3f2 |
|
MD5 | 31fc252833f7c1c4be58d3caf109b032 |
|
BLAKE2b-256 | e7a6a0470a6d1d8f9d01311cf777c6ae157e1572ffdba1e585de7eb4a6433838 |
Close
Hashes for pycharm_remote_debugger-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d354e1d05108be0151ef7797065e0d66c3e05d6713d18238179a5e0ec30d4d7 |
|
MD5 | 9af8c525dbf9a677261ce7ab90c82f14 |
|
BLAKE2b-256 | c52153907239ecad179788861066bd2e4e7d921bd8e0782d2e8b5c69851510ae |