You have a starter SharePoint Framework (SPFx) web part.
You need to test the web part from the local workbench by connecting to a URL of https://localhost:4321/temp/workbench.html.
Which tool should you use make the web part available locally for debugging
B. Microsoft Visual Studio Code
C. npm install
D. gulp serve
By setting up debugging of your SharePoint Framework solution in Visual Studio Code, you can more efficiently step through your code and fix errors.
When building SharePoint Framework solutions, you can use the local workbench to verify that your web part is working correctly. Using the local workbench is convenient for testing all scenarios that do not require communicating with SharePoint as well as for offline development.