New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report sockets opened by debugpy #1337
Comments
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
@paulacamargo25 {
"seq": 6,
"type": "event",
"event": "debugpySockets",
"body": {
"sockets": [
{
"host": "127.0.0.1",
"port": 63435,
"internal": false
},
{
"host": "127.0.0.1",
"port": 63437,
"internal": true
},
{
"host": "127.0.0.1",
"port": 63436,
"internal": true
}
]
}
} Thereafter, such events are sent whenever the adapter opens or closes a port, with the content of "sockets" updated accordingly. At any given moment, the only ports that should be forwarded are those that were present in the most recent such event with See #1404 for implementation. |
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
In order to implement the Port Attributes API. We need to know the port info that debugpy generates for the debugging process. You can send this as a log message that we can track and then disable port forwarding on those ports.
The text was updated successfully, but these errors were encountered: