dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.89k stars 384 forks source link

Create a diagnostic notebook for user bug investigations #1479

Open jonsequitur opened 3 years ago

jonsequitur commented 3 years ago

We need to talk about what this does but I am currently thinking that we need a magic command that turns on / off the logging for components and perhaps the display of additional information.

For example - #r "nuget: ... blah " can produce an msbuild binary log file which significantly improves our ability to figure out why #r "nuget: " commands fail.

Obviously I have spent more time diagnosing nuget issues, so I know what I want to see there, please add suggestions for other items that need diagnostics added and the type of information that would be usefull.

Another consideration, I have no opinion of ... 'well I do actually but I don't want to pollute the well' ... should the log information, such as log files location, nuget binlog file name, project file name be programmatically accessible as a value.

RandomFractals commented 3 years ago

this is good info: https://github.com/dotnet/interactive/blob/main/DEVELOPER-GUIDE.md#use-a-local-build-of-the-dotnet-interactive-tool

jonsequitur commented 3 years ago

We need to talk about what this does but I am currently thinking that we need a magic command that turns on / off the logging for components and perhaps the display of additional information.

We have this: #!log. I think the behavior is worth reviewing, though.