From f746212d809d4eee17fe09fd8328a6e57963cbfd Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 26 Apr 2021 12:56:12 -0500 Subject: [PATCH] Revamp debugging section (#3224) - Most people leave the logs out so add a section for them in the issue template. - Remove the VS Code logs because those get sent to stdout now and will show up in our logs. - Separate browser console and network. --- .github/ISSUE_TEMPLATE/bug-report.md | 31 +++++++++++++++++++++++++--- docs/FAQ.md | 4 ++-- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 462aada4..4ec82a89 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -10,9 +10,14 @@ assignees: "" Hi there! 👋 -Thanks for reporting a bug. Please see https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-do-i-debug-issues-with-code-server and include any logging information relevant to the issue. +Thanks for reporting a bug. -Please search for existing issues before filing, as they may contain additional information about the problem and descriptions of workarounds. Provide as much information as you can, so that we can reproduce the issue. Otherwise, we may not be able to help diagnose the problem, and may close the issue as unreproducible or incomplete. For visual defects, please include screenshots to help us understand the issue. +Please search for existing issues before filing, as they may contain additional +information about the problem and descriptions of workarounds. Provide as much +information as you can, so that we can reproduce the issue. Otherwise, we may +not be able to help diagnose the problem, and may close the issue as +unreproducible or incomplete. For visual defects, please include screenshots to +help us understand the issue. --> ## OS/Web Information @@ -37,9 +42,29 @@ Please search for existing issues before filing, as they may contain additional +## Logs + + + ## Screenshot - + ## Notes diff --git a/docs/FAQ.md b/docs/FAQ.md index 1fc88191..ce1bd50c 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -330,8 +330,8 @@ Once this is done, replicate the issue you're having then collect logging information from the following places: 1. The most recent files from `~/.local/share/code-server/coder-logs`. -2. The most recently created directory in the `~/.local/share/code-server/logs` directory. -3. The browser console and network tabs. +2. The browser console. +3. The browser network tab. Additionally, collecting core dumps (you may need to enable them first) if code-server crashes can be helpful.