python-remote-pdb icon indicating copy to clipboard operation
python-remote-pdb copied to clipboard

Support remote pdb listening on unix socket file.

Open daimon99 opened this issue 6 years ago • 4 comments

daimon99 avatar Dec 12 '19 06:12 daimon99

Codecov Report

Merging #20 into master will decrease coverage by 2.95%. The diff coverage is 46.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
- Coverage   84.03%   81.08%   -2.96%     
==========================================
  Files           2        2              
  Lines         213      222       +9     
  Branches       27       31       +4     
==========================================
+ Hits          179      180       +1     
- Misses         26       30       +4     
- Partials        8       12       +4
Impacted Files Coverage Δ
src/remote_pdb.py 68.42% <46.66%> (-6%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 57ed66b...04d4336. Read the comment docs.

codecov-io avatar Dec 12 '19 06:12 codecov-io

If there's support for uds I would like to also be supported in the set_trace API.

Also, it could be less verbose, eg: the host argument could also work as a path.

# ambiguous:
set_trace('foobar')  # will work as hostname

# unambiguous:
set_trace('/foo/bar')  # can only be a path since it has slashes
set_trace('foo/bar')  # can only be a path since it has slashes
set_trace('foobar', uds=True)  # special flag to switch to uds
# perhaps "unix" or "unix_socket" instead of "uds" to be more clear?

ionelmc avatar Jan 12 '20 14:01 ionelmc

Hi, what's the status of this? I'd like to use it in a HPC cluster setting and here using TCP ports is a securit issue.

holtgrewe avatar Sep 09 '20 11:09 holtgrewe

https://github.com/ionelmc/python-remote-pdb/pull/27

heroesm avatar Sep 21 '20 07:09 heroesm