Settings
To open the DevDb settings, open Settings and search for @ext:damms005.devdb. You can also click the settings icon in the DevDb panel.
All settings
| Setting | Type | Default | Scope | Description |
|---|---|---|---|---|
Devdb.colorTheme | "light", "dark" | "light" | Any | Color theme of the DevDb panel |
Devdb.showDebugInfo | boolean | false | Any | Write debug information to the developer console |
Devdb.phpExecutablePath | string | "php" | Machine | Path to the PHP executable for Laravel Artisan commands |
Devdb.enableCodeLensForTextSelection | boolean | true | Any | Show CodeLens actions for selected text, for example Explain query |
Devdb.showFewerUpdateNotificationActions | boolean | false | Any | Show fewer buttons in the notification after an update |
Devdb.customBasePath | string | "" | Any | Absolute path for zero-config detection, instead of the workspace root |
Devdb.enableMcpServer | boolean | true | Any | Turn the local MCP server on or off |
Devdb.mcp.allowWrites | boolean | false | Machine | Let MCP clients run write queries (INSERT, UPDATE, DELETE, DDL). DevDb asks you to confirm each write. |
Settings with machine scope apply only from your user settings. A workspace .vscode/settings.json file cannot set them. This stops a project that you open from changing them.
Examples
PHP in a non-standard location
json
{
"Devdb.phpExecutablePath": "/opt/homebrew/bin/php"
}Project in a subfolder
If your Laravel, Rails or Django app is in a subfolder of the workspace:
json
{
"Devdb.customBasePath": "/Users/me/projects/monorepo/apps/api"
}Turn off the MCP server
json
{
"Devdb.enableMcpServer": false
}Keyboard shortcuts
| Command | macOS | Windows, Linux |
|---|---|---|
| Toggle DevDb panel | Cmd+K Cmd+D | Ctrl+K Ctrl+D |
| Go to table | Cmd+K Cmd+G | Ctrl+K Ctrl+G |
To change a shortcut, open Keyboard Shortcuts and search for devdb.
Commands
| Command | Description |
|---|---|
| Go to Table | Open a table by name |
| Open table at cursor | Open the table for the word at the cursor |
| Generate Laravel Factory | Generate a factory for a Laravel model |
| Explain query | Explain the selected MySQL query |
| DevDb Pro: Manage License | Enter, check or remove a license |
See Editor Features.