You can add Showplan event classes to a trace definition that cause [!INCLUDE [ssSqlProfiler](../../includes/sssqlprofiler-md.md)] to gather and display query plan ...
[!INCLUDE SQL Server Azure SQL Managed Instance] You can add Showplan event classes to a trace definition that cause [!INCLUDEssSqlProfiler] to gather and display query plan information in the trace.