Hi,
I am trying to launch remote process and attach them to the Jedi
debugger. For that I use the following function:
(define (instanciate-module moduleType Debugger-Port)
(let ((command (car (command-line)))
(args (list "-run" "GIT-Module-Loader"
"-debugger" (string-append "127.0.0.1:" (number-
>string Debugger-Port))
"-interactive" "true"
"-module-name" moduleType)))
(open-process (list path: command
arguments: args))))
My problem is about determining the Debugger-Port argument. This is
the port the Jedi debugger listens at.
(listening-port~ (get-remote-listener))
but it seems to return the port of the debuggee instead of the port of
the debugger.
How can I get the debugger port?
Thank you,
Francois Magnan