I had Visual Studio Code app's icon in my Mac's Dock before, but I can't put it there again.
I tried dragging and dropping the app bundle from the
/Applications folder, but the icon doesn't land in the Dock. Have I accidentally banned Visual Studio Code.app from the macOS Dock?
If yes, how can I revoke the ban? I can add icons for other apps just fine. Even when I have Visual Studio Code.app running, the app's icon doesn't appear in the Dock.
How do I resolve the issue and get the app icon to show in the Dock?