If you have installed the extension AWS Toolkit for Visual Studio Code in your VS Code setup on MacOS, you might need to check the logs generated by the AWS Toolkit, for instance, when your CodeLens is not working properly as one example.
On MacOS, you can find the logs in the /Users/syedwaqas/Library/Application Support/Code/logs/aws_toolkit folder.