ApexCoder — VS Code Extension for Salesforce ⚡
🚀 Run, debug, and analyze Salesforce Apex code directly inside VS Code — without ever opening the Developer Console.

✨ Features
- 🔐 Login securely to Sandbox or Production via OAuth2
- ⚡ Execute anonymous Apex code instantly
- 📜 Automatically fetch and display debug logs
- 🧠 Smart log analysis with multiple view modes:
- Debug-Only
- Raw Log
- DML Stats
- 🧾 Upload and analyze any
.log file
- 🧠 Analyze logs by Log ID
- 🌐 Secure token relay via hosted backend (Render/Heroku)
- 🧪 Compatible with trace flag activation and Dev Console link
🧪 Modes Explained
Mode |
Description |
Debug Only |
Extracts only System.debug() outputs |
Raw Log |
Displays the entire Apex debug log |
DML Stats |
Shows INSERT/UPDATE/DELETE counts and performance info |
🧾 Commands
Command |
Description |
ApexCoder: Login to Salesforce |
OAuth login to Sandbox/Production |
ApexCoder: Execute Apex Code |
Runs the code in editor |
ApexCoder: Logout from Salesforce |
Clears saved tokens |
ApexCoder: Show Login Screen |
Opens login panel |
🧰 Requirements
- A Salesforce Developer Org
- A Connected App with OAuth2 credentials
- Render/Heroku hosted server for
/callback and /token routes
| |