Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit d8fe3a6

Browse files
committed
Troubleshooting guide why not
1 parent 91cfe45 commit d8fe3a6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/troubleshooting.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Troubleshooting guide
2+
3+
So, you're having a problem with this package, and you're not sure what's going on. Here are a few tools that you can use to collect more information on your problem to help us help you faster.
4+
5+
The more debugging information you can provide, the easier it will be for us to figure out what's going on, even if your problem is triggered by some configuration or local state on your machine... and the more likely it will be that we'll be able to help you out.
6+
7+
## Atom debugging guide
8+
9+
Be sure to look over the [Atom debugging guide](https://flight-manual.atom.io/hacking-atom/sections/debugging/), as everything written there also applies here.
10+
11+
Take special note of the [section on the developer tools](https://flight-manual.atom.io/hacking-atom/sections/debugging/#check-for-errors-in-the-developer-tools). Any time that the package "crashes" (git and GitHub status bar buttons vanish, tabs go blank, commands are no longer present in the command palette) there's almost certainly a stack trace waiting for you in the developer tools. Copy and paste that into your issue within a triple-backtick code block and it will give us worlds more information about what's going on. For many problems, having a stack trace to work with almost single-handedly makes the difference between us not being able to do anything and us being able to land a fix.
12+
13+
## Git diagnostics
14+
15+
If your problem is related to specific git operations or interactions - like problems committing, pushing, or fetching - then it can be very helpful to collect git command diagnostics.
16+
17+
To enable git diagnostic collection:
18+
19+
* Open your [Settings tab](https://flight-manual.atom.io/getting-started/sections/atom-basics/#settings-and-preferences).
20+
* Navigate to the "Packages" section on the lefthand side.
21+
* Search for "github" in the search box.
22+
* Click "settings" on the "github" package result.
23+
* Check the checkbox labelled "Git diagnostics".
24+
25+
Now, reproduce your problem. Every git command that's executed by this package will be logged to the developer console, including input, stdout and stderr, and exit codes, with full verbose tracing. Expand the collapsed sections corresponding to the relevant commands and copy-and-paste the results in your issue.
26+
27+
:warning: While the git logging will elide things like passphrases for you, you may wish to manually remove references to usernames, paths, or repository URLs if you wish, for privacy reasons.

0 commit comments

Comments
 (0)