Visual Studio Code (hereafter referred to as VSCode) is Microsoft's first lightweight code editor for Linux. Find below a few configuration files that allow the use of VSCode to compile and debug the YDLidar-SDK project. I will elaborate on it below, hoping to bring some help to the developers.
You could first set up the YDLidar-SDK project using the build and release document under Build in Visual Studio Code. Only follow the steps until the Build the YDLidar-SDK Project in VSCode title
In the pop-up window, select the corresponding The options are as shown below: