{"record":{"id":"2e31c16afcbfff40","repo":"zed-industries/zed","slug":"debug-adapter-schema-for-debug-adapter-name-pa","errorCode":null,"errorMessage":"Debug adapter schema for `{debug_adapter_name}`(path: `{debug_adapter_schema_path:?}`) is not a valid JSON","messagePattern":"Debug adapter schema for `(.+?)`\\(path: `(.+?)`\\) is not a valid JSON","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/extension_cli/src/main.rs","lineNumber":625,"sourceCode":"                    }\n                }\n            }\n        }\n\n        log::info!(\"loaded language {}\", config.name);\n    }\n\n    Ok(())\n}\n\nasync fn test_themes(\n    manifest: &ExtensionManifest,\n    extension_path: &Path,\n    fs: Arc<dyn Fs>,\n) -> Result<()> {\n    for relative_theme_path in &manifest.themes {\n        let theme_path = extension_path.join(relative_theme_path);\n        let theme_family =\n            theme_settings::deserialize_user_theme(&fs.load_bytes(&theme_path).await?)?;\n        log::info!(\"loaded theme family {}\", theme_family.name);\n\n        for theme in &theme_family.themes {\n            if theme\n                .style\n                .colors\n                .deprecated_scrollbar_thumb_background\n                .is_some()\n            {\n                bail!(\n                    r#\"Theme \"{theme_name}\" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.\"#,\n                    theme_name = theme.name\n                )\n            }\n        }\n    }\n","sourceCodeStart":607,"sourceCodeEnd":643,"githubUrl":"https://github.com/zed-industries/zed/blob/9d272b036335401f339d024ea94968fd51016c40/crates/extension_cli/src/main.rs#L607-L643","documentation":"The debug adapter schema file for {debug_adapter_name} was loaded but is not valid JSON — serde_json failed to parse its contents. Distinguish from the read error: the file exists and is readable, but its content cannot be parsed as a JSON schema; the adapter cannot be registered without a parseable schema.","triggerScenarios":"Thrown at crates/extension_cli/src/main.rs:593 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the JSON syntax error in the schema file (check for trailing commas, unescaped quotes, BOM)","Lint the file with a JSON validator before repackaging the extension"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9d272b036335401f339d024ea94968fd51016c40","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}