This repository has been archived by the owner on May 30, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Stage rl/standard debug sockets #876
Stage rl/standard debug sockets #876
Changes from 5 commits
86d3aa7
475a912
2a4cc9c
1b0c649
a481500
2ef206d
1cf5c89
e13522a
17c381b
5da1664
b557aee
0a9bcf1
3bcefe1
32e7628
fdd44fd
b393f21
f9be28e
1a24f1f
d7a0d58
4f98bc0
f22b8b3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) Leaving them all at
1.
in the source makes it easier to add or remove steps, without having to renumber the others.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When getting sockets, we should take users'
launch.json
configuration into account, especially theenv
. When users specifying things likeRUBY_DEBUG_SOCK_DIR
when starting the debuggee process, therdbg --util=list-socks
call needs to have the same value or it wouldn't find anything.The
vscode-rdbg
extension takes the configuration into account so it supports the above use case.(*The current implementation doesn't need this because it doesn't invoke the
rdbg
executable)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notice that this information has to be read from the Ruby object for the current workspace as we do here, which contains the activated environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is not necessary if we keep our standard socket path for launch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the previous one.