Skip to content

Commit 0a610e2

Browse files
awileysnykgitbook-bot
authored andcommitted
GITBOOK-8897: DE: VS extension, TS and known issues, Added a section for enabling debug logs in VS
1 parent 3789b2f commit 0a610e2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/.gitbook/assets/debug_logs.png

37.6 KB
Loading

docs/scm-ide-and-ci-cd-integrations/snyk-ide-plugins-and-extensions/visual-studio-extension/troubleshooting-and-known-issues-with-visual-studio-extension.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@ Snyk plugins are not supported on any operating system that has reached End Of L
3030
### Logs
3131

3232
{% hint style="warning" %}
33-
When you enable `debug`, your code may be logged in the IDE log files, for example, the `idea.log` file.
33+
When you enable `debug`, your code may be logged in the IDE log files, for example, the `snyk-extension.log` file.
3434
{% endhint %}
3535

36+
To enable the debug log level, you can add `-d` parameter through the **Extension Settings**, **Solution Settings**, **Additional Parameters**.
37+
38+
<figure><img src="../../../.gitbook/assets/debug_logs.png" alt=""><figcaption></figcaption></figure>
39+
40+
You must restart the IDE after you add this parameter and click **OK**.
41+
3642
You can find logs in the user AppData directory:
3743

3844
```
@@ -82,7 +88,7 @@ Snyk Code allows developers to ignore files in their codebase. This is done thro
8288
* `%HOME%/.config/configstore/snyk.json` contains the CLI settings. The Visual Studio plugin uses the following parameters from the CLI configuration
8389
* API Token
8490
* API endpoint
85-
* Additional settings are stored in a config file which is located at `settings.json` in the extension directory. This is a path starting with `%LocalAppData%\\Microsoft\\VisualStudio\\`, e.g. `C:\\Users\\bdoetsch\\AppData\\Local\\Microsoft\\VisualStudio\\17.0_b97950dd\\Extensions\\dnzygpqo.juy`
91+
* Additional settings are stored in a config file which is located at `settings.json` in the extension directory. This is a path starting with `%LocalAppData%\\Microsoft\\VisualStudio\\`, for example, `C:\\Users\\user\\AppData\\Local\\Microsoft\\VisualStudio\\17.0_b97950dd\\Extensions\\dnzygpqo.juy`
8692

8793
The Snyk Plugin for Visual Studio stores settings in **two** locations.
8894

0 commit comments

Comments
 (0)