Open neeldugar opened 5 months ago
Also similarly using multiprocessing
, the same issue persists, by looking at other issues this does seem to be resolved, so any help would be much appreciated:
from multiprocessing import Process
import os
def child():
print("\nI am child process")
print("Process ID:", os.getpid())
print("Parent's process ID:", os.getppid())
def main():
p = Process(target=child)
p.start()
print("I am parent process:")
print("Process ID:", os.getpid())
p.join()
p.close()
if __name__ == "__main__":
main()
Just tried this and for me the examples work fine.
Are you sure that both debugpy and nvim-dap are up2date and that you're using their default configurations?
The subProcess
option must be true for this to work (that's the default for a while now)
Great project so far, but I've been having some difficulty in getting our project to work with forked processes.
Specifically the code below hangs indefinitely, was looking for any suggestions on what I can do to be able to debug it, even if both the child process isn't possible to get breakpoints within:
MRE:
Expected output:
Actual output: