Open scholarsmate opened 1 year ago
It appears that the debugger server already has support for domain sockets and named pipes (see: https://github.com/apache/daffodil-vscode/blob/main/src/adapter/extension.ts#L43). We need to verify that it works and document it. Also I think it's worth making it the default way that we connect to the server if it works.
I wonder if a different interface should be used: I believe 0.0.0.0 is used by default, but 127.0.0.1 might be less restricted by the OS?
In any case, we could allow finer-grained hostname/interface control in the config to test this.
Do folks actually have issues now that localhost is used by default (vs. 0.0.0.0)? cc: @scholarsmate @mbeckerle @stevedlawrence
Do folks actually have issues now that localhost is used by default (vs. 0.0.0.0)? cc: @scholarsmate @mbeckerle @stevedlawrence
Re-ping @scholarsmate @mbeckerle @stevedlawrence
Are you asking if it's okay to not switch to domain sockets/fifos because we use tcp localhost? I personally have no strong preference so seems fine to me. But I do agree with the main comment that it might be useful to avoid issues related to firewalls/unavailable ports, though probably not problem in most cases.
Firewalls and other TCP services on the same ports have been and will continue to cause problems for users. If possible, add support for domain sockets and named FIFOs in a way that will be cross-platform.