docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property Debug

    Debug

    Gets or sets whether to compile the code in a way that allows it to be debugged. If this is set to true, the current implementation disables optimisations on this method allowing it to be debugged using a Native debugger.

    Declaration
    public bool Debug { get; set; }
    Property Value
    Type Description
    bool

    The default is false.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)