Which tool should you use make the web part available locally for debugging?

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?
A . Yeoman
B . Microsoft Visual Studio Code
C . npm install
D . gulp serve

Answer: B

Explanation:

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.

Reference: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/debug-in-vscode

Latest MS-600 Dumps Valid Version with 142 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments