add debug option

This commit is contained in:
2026-02-07 15:35:09 +01:00
parent 57f32dcce5
commit 3478d8abbe
8 changed files with 32 additions and 5 deletions

View File

@@ -388,6 +388,24 @@ const SettingsPage = () => {
<span className="form-hint">Désactiver pour debug manuel</span>
</div>
<div className="form-group">
<label>Mode debug</label>
<label className="checkbox-label">
<input
type="checkbox"
checked={backendConfig.scrape?.debug_enabled ?? false}
onChange={(e) =>
setBackendConfig({
...backendConfig,
scrape: { ...backendConfig.scrape, debug_enabled: e.target.checked },
})
}
/>
Sauvegarder screenshots et HTML
</label>
<span className="form-hint">Génère des artifacts de debug dans backend/app/samples/debug/</span>
</div>
<div className="form-group">
<label>Timeout (ms)</label>
<input