Skip to content

Debug does not have property Listeners in net-core, how can I debug just like before? #1692

Open
@zhangvv123

Description

@zhangvv123

https://stackoverflow.com/questions/54342622/it-seems-that-debug-listeners-does-not-exist-in-net-core

Debug dose not have property Listeners now, how can I debug my application just like the example:

   Debug.Listeners.Add(new TextWriterTraceListener(Console.Out));    //error
   Debug.AutoFlush = true;
   Debug.Indent();
   Debug.WriteLine("Entering Main");

Document details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions