nerdexam
Salesforce

PDI · Question #174

What should a developer use to fix a Lightning web component bug in a sandbox?

The correct answer is B. VS Code. Visual Studio Code with the Salesforce Extensions is the recommended and most effective integrated development environment for debugging and fixing bugs in Lightning Web Components within a sandbox.

Submitted by carter_n· Apr 18, 2026Testing, Debugging, and Deployment

Question

What should a developer use to fix a Lightning web component bug in a sandbox?

Options

  • ADeveloper Console
  • BVS Code
  • CForce.com IDE
  • DExecute Anonymous

How the community answered

(19 responses)
  • B
    84% (16)
  • C
    5% (1)
  • D
    11% (2)

Why each option

Visual Studio Code with the Salesforce Extensions is the recommended and most effective integrated development environment for debugging and fixing bugs in Lightning Web Components within a sandbox.

ADeveloper Console

The Developer Console has limited capabilities for Lightning Web Component development and debugging, primarily focusing on Apex and Visualforce.

BVS CodeCorrect

Visual Studio Code (VS Code) with the official Salesforce Extensions is the modern and recommended Integrated Development Environment (IDE) for developing, debugging, and deploying Lightning Web Components.

CForce.com IDE

The Force.com IDE is an outdated Eclipse-based IDE that does not support the modern development workflow or debugging for Lightning Web Components.

DExecute Anonymous

Execute Anonymous is a tool used for executing Apex code snippets on demand and provides no functionality for debugging or modifying client-side Lightning Web Components.

Concept tested: LWC Development Tools

Source: https://developer.salesforce.com/tools/vscode/en/getting-started/

Topics

#Lightning Web Components#Development Tools#Debugging#VS Code

Community Discussion

No community discussion yet for this question.

Full PDI Practice