In a large pot, fry bacon until crisp. Drain it on paper towels. Add onion to the pot and brown for a few minutes. Add cabbage to the pot and stir. Cover the pot and cook cabbage until it is wilted, but still crisp. Stir in cream cheese until melted. Add sour cream and salt and pepper to taste.