Skip to content

docs: reorder skaffold debug docs #6894

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

Merged
merged 4 commits into from
Nov 22, 2021

Conversation

gsquared94
Copy link
Contributor

@gsquared94 gsquared94 commented Nov 22, 2021

Fixes: #6691

Description

This PR reorders sections of the Debugging documentation page.
The original writeup lacked a simple introduction. Also sections describing the language runtime detection heuristics was intertwined with the debugger setup information that made it difficult to parse the relevant information about heuristics separately. It also made it difficult to add a debugging with Cloud Code section since heuristic setup is still required for that, and it only automates parts of working with the debugger set up.

See: http://34.94.139.93:1313/docs/workflows/debug/

@gsquared94 gsquared94 requested a review from a team as a code owner November 22, 2021 17:35
@google-cla google-cla bot added the cla: yes label Nov 22, 2021
@gsquared94 gsquared94 added the docs-modifications runs the docs preview service on the given PR label Nov 22, 2021
@container-tools-bot
Copy link

Please visit http://34.94.139.93:1313 to view changes to the docs.

@container-tools-bot container-tools-bot removed the docs-modifications runs the docs preview service on the given PR label Nov 22, 2021
Comment on lines +226 to +229
## Supported Language Runtimes

This section describes how `debug` recognizes the language runtime used in a
container image for specific language runtimes.
Copy link
Member

Choose a reason for hiding this comment

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

Rather than splitting this section out, why don't we integrate it into the previous tabs. Users of most of the runtimes will have to look into this sections if only to ensure they set the right environment variables.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to separate this out because this section is independently relevant to Cloud Code. So when debug isn't working in Cloud Code for a language runtime they can link this section directly. Having it merged with the previous section would present additional info that IDE users don't necessarily need to know immediately.

@gsquared94 gsquared94 merged commit b6da4ff into GoogleContainerTools:main Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugging page should be better organized to present debugging with the IDEs as an easier alternative.
3 participants