Currently DEBUGPY_ADAPTER_ENDPOINTS takes path to a file. This means that in the terminal we can only set path to a single file. Concurrent, connections can overwrite the file.
Considerations:
[Options PIPE] Make the file a PIPE. For this DEBUGPY_ADAPTER_ENDPOINTS should not be deleted by debugpy on exit.
[Option Folder] DEBUGPY_ADAPTER_ENDPOINTS could point to a folder. Debugpy, creates a temp file with random name and put the port number in it. We can monitor the folder for file creation and connect.
Currently
DEBUGPY_ADAPTER_ENDPOINTStakes path to a file. This means that in the terminal we can only set path to a single file. Concurrent, connections can overwrite the file.Considerations:
[Options PIPE] Make the file a PIPE. For this
DEBUGPY_ADAPTER_ENDPOINTSshould not be deleted bydebugpyon exit.[Option Folder]
DEBUGPY_ADAPTER_ENDPOINTScould point to a folder. Debugpy, creates a temp file with random name and put the port number in it. We can monitor the folder for file creation and connect.