Skip to content

Commit 8858826

Browse files
committed
add diagnostic log info to FAQ
1 parent cf8532f commit 8858826

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/FAQ.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,3 +393,25 @@ This error indicates that a call to a .NET Interactive formatting API such as `D
393393

394394
The error is shown because a formatted value from the .NET Interactive kernel has been formatted using a MIME type that VS Code doesn't know how to render. VS Code can only render notebook outputs in MIME types for which there's an installed [notebook renderer](https://code.visualstudio.com/api/extension-guides/notebook#notebook-renderer). Notebook renderers are independent of the kernel and can be [installed from the Visual Studio Marketplace](https://code.visualstudio.com/api/extension-guides/notebook#notebook-renderer).
395395

396+
### Diagnostic logs
397+
398+
You can enable diagnostic logging by editing the Polyglot Notebooks extension's settings for `Kernel Transport Args` and adding the following command line arguments:
399+
400+
```diff
401+
"dotnet-interactive.kernelTransportArgs": [
402+
"{dotnet_path}",
403+
"tool",
404+
"run",
405+
"dotnet-interactive",
406+
"--",
407+
"[vscode]",
408+
"stdio",
409+
"--working-dir",
410+
"{working_dir}",
411+
+ "--log-path",
412+
+ "c:\\temp\\your-log-folder-name",
413+
+ "--verbose",
414+
],
415+
```
416+
417+
![Image](https://github.com/user-attachments/assets/cf75e69f-177a-4275-9f44-88dc0c2571f5)

0 commit comments

Comments
 (0)