Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

Ver registros de la extensión MongoDB para VSCode

Puedes ver los registros de MongoDB for VS Code Extension para solucionar problemas de la extensión.

1

Abra la paleta de comandos (Ctrl+Shift+P o Cmd+Shift+P)

2

Ejecutar el Developer: Open Log... Comando

3

Seleccionar MongoDB Extension de la lista de entradas de registro

El siguiente ejemplo muestra los mensajes de registro que aparecen después de que utilices un playground para insertar un documento en una colección:

2025-10-23 14:36:24.130 [info] [telemetry] Telemetry sent [
{
anonymousId: '414615cf-8328-427a-bb18-23416389a7ec',
event: 'Playground Created',
properties: {
extension_version: '1.14.2',
device_id: 'unknown',
playground_type: 'insertDocument'
}
}
]
2025-10-23 14:36:26.019 [info] [language server controller] Running a playground... [
{
connectionId: '6e213121-77a7-4d43-a14c-1fde0e6ac06e',
filePath: '/Users/jeff/github/docs-mongodb-internal/playground-3.mongodb.js',
inputLength: 254
}
]
2025-10-23 14:36:26.705 [info] [language server controller] Evaluate response [
{
namespace: 'test.products',
type: 'InsertOneResult',
outputLength: 39,
language: 'json'
}
]
2025-10-23 14:36:36.672 [info] [telemetry] Telemetry sent [
{
anonymousId: '414615cf-8328-427a-bb18-23416389a7ec',
event: 'Command Run',
properties: {
extension_version: '1.14.2',
device_id: 'unknown',
command: 'mdb.runPlayground'
}
}
]
2025-10-23 14:36:36.672 [info] [telemetry] Telemetry sent [
{
anonymousId: '414615cf-8328-427a-bb18-23416389a7ec',
event: 'Playground Code Executed',
properties: {
extension_version: '1.14.2',
device_id: 'unknown',
type: 'insert',
partial: false,
error: false
}
}
]

El siguiente ejemplo muestra los mensajes de registro que aparecen después de ejecutar un playground para leer datos de una colección:

2025-10-23 14:12:27.424 [info] [telemetry] Telemetry sent [
{
anonymousId: '414615cf-8328-427a-bb18-23416389a7ec',
event: 'Playground Created',
properties: {
extension_version: '1.14.2',
device_id: 'unknown',
playground_type: 'search'
}
}
]
2025-10-23 14:12:27.424 [info] [telemetry] Telemetry sent [
{
anonymousId: '414615cf-8328-427a-bb18-23416389a7ec',
event: 'Command Run',
properties: {
extension_version: '1.14.2',
device_id: 'unknown',
command: 'mdb.runPlayground'
}
}
]
2025-10-23 14:12:37.446 [info] [telemetry] Telemetry sent [
{
anonymousId: '414615cf-8328-427a-bb18-23416389a7ec',
event: 'Playground Code Executed',
properties: {
extension_version: '1.14.2',
device_id: 'unknown',
type: 'query',
partial: false,
error: false
}
}
]

Volver

Configuraciones

En esta página