Hovering over "Applied steps" in Power Query Editor shall show the M code, this both in the Power BI Desktop as well as in Power BI Dataflows

When I stepped through a query with slow responses, I realized that it would be very helpful of I could see the next M code to be executed. The easiest way to implement this is probably to show the M code when hovering over the step in the "Applied step" window
Needs Votes