Kick things off by cooking your pasta in salted water. Once done be sure to save 1 cup of the water that the pasta cooked in.
While pasta is cooking place a large pan over medium high heat and drop in the diced bacon. Allow the fat to render and the bacon to cook. After the bacon is cooked, pour out some of the bacon fat but leave about 1 tbs remaining.
In the same pan drop in the garlic, rosemary, and onion. Pause a moment and enjoy the smell! After 30 seconds add in the mushrooms and spinach.
At this point you can add in the cooked pasta and mix well. Pour in 3/4 cup of the pasta water and stir. You can turn off the heat after about 3 minutes of cooking and stirring.
Remove pasta pan from heat and pour in the scrambled egg. Using a wooden spot or tongs move the pasta around. You want the residual heat of the pasta to "cook" the egg. Keep moving and stirring the pasta for about a minute.
Add in the black pepper, chilli flakes, and parm. Taste the pasta and then add in salt as needed. Enjoy!