Skip to content
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

Use the telnet output to know when the debug protocol port is open #179

Closed
wants to merge 5 commits into from

Conversation

Christian-Holbrook
Copy link
Collaborator

No description provided.

Copy link
Member

@TwitchBronBron TwitchBronBron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just a few comments

this.socketDebugger.on('control-connected', () => {
this.connectionDeferred.resolve();

this.logger.log(`Closing telnet connection used for compile errors`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not close this. The compileClient (telnet connection) should stay alive for the lifetime of the debug session (i.e. until someone clicks "stop")

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a small step to start using the telnet logs to trigger the control port connection.

I'm starting the work to keep the debug session open once the control port closes.

src/adapters/DebugProtocolAdapter.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants