Bring a large pot of salted water to a boil.
Add trimmed green beans and blanch for 3 to 4 minutes until tender-crisp; drain immediately and submerge in ice water to stop cooking.
Melt butter in a large skillet over medium heat.
Add minced garlic and cook for 1 minute until fragrant.
Add heavy cream and softened cream cheese; whisk until cream cheese is completely melted and sauce is smooth.
Season sauce with salt and black pepper.
Add drained green beans to skillet; toss thoroughly to coat in cream sauce.
Remove skillet from heat; sprinkle shredded cheddar cheese and grated parmesan evenly over top.
Cover skillet with a lid for 3 minutes (or broil for 2 minutes) until cheese is completely melted and bubbly.
Top with crumbled bacon and serve hot.