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

Don't create launch.json for no selected process #4699

Merged
merged 2 commits into from
Aug 11, 2021

Conversation

WardenGnaw
Copy link
Contributor

@WardenGnaw WardenGnaw commented Aug 9, 2021

This PR fixes resolveDebugConfigurationWithSubstitutedVariables to
return undefined when user does not select a process in the process selection
dialog.

This will ensure it does not switch to the launch.json tab.

Related: #4696

This PR fixes resolveDebugConfigurationWithSubstitutedVariables to
return null when user does not select a process in the process selection
dialog.
@WardenGnaw WardenGnaw self-assigned this Aug 9, 2021
@WardenGnaw WardenGnaw changed the title Don't create launch.json for no select process Don't create launch.json for no selected process Aug 9, 2021
@WardenGnaw
Copy link
Contributor Author

@JoeRobich Are the PR builds broken? My changes should not affect any tests since it should only hit during the scenario when not selecting a process in the dialog during a attach debug.

@JoeRobich
Copy link
Member

@JoeRobich Are the PR builds broken? My changes should not affect any tests since it should only hit during the scenario when not selecting a process in the dialog during a attach debug.

I'll investigate. Looks like a project selector change may be the cause.

@WardenGnaw
Copy link
Contributor Author

Thank you @JoeRobich!

@WardenGnaw WardenGnaw merged commit f7efa9e into master Aug 11, 2021
@JoeRobich JoeRobich deleted the dev/waan/stopLaunchJsonAttach branch October 18, 2022 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cancelling a .Net Core attach debug request still opens launch.json file
3 participants