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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 881ed559aedd6b87ac2be89ff63a403861b9d65a4c0691d859f5b9b24abe7294 |
|
MD5 | cfb38984f52c5901da6f84110927d094 |
|
BLAKE2b-256 | ae0f4108fef676526f90cfb0ae37e0f550e9be3a75d3ec588e0de21edf6e482a |
Close
Hashes for pycharm_remote_debugger-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38d79d72a273a320c5e143c32526ceb236feda43787c2f8968f64769087e6b7a |
|
MD5 | 1811bd23d14a33be182a9891c0c65c26 |
|
BLAKE2b-256 | cfa4fe686d16ac120486bfcb8982a300b3d40b2aa477b8c464b2b1975a6744d1 |