mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 20:52:12 -03:00
Improve bug report template with detailed log instructions
Expanded the bug report template to include step-by-step instructions for enabling DEBUG logs in both frontend and backend, and added a required field for backend logs. Clarified instructions for gathering browser console logs and emphasized the need for up-to-date versions before reporting. These changes aim to help users provide more actionable information for debugging.
This commit is contained in:
76
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
76
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -7,19 +7,46 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
**Thank you for reporting a bug!**
|
**Thank you for reporting a bug!**
|
||||||
Please follow these steps to capture useful info:
|
Please follow these steps to capture all necessary information:
|
||||||
|
|
||||||
### How to gather the necessary information:
|
### ✅ Before You Report:
|
||||||
🌐 **Browser & Version:**
|
1. Make sure you have the **latest versions**:
|
||||||
- Chrome: Click the three dots → Help → About Google Chrome
|
- [ComfyUI Github](https://github.com/comfyanonymous/ComfyUI/releases)
|
||||||
- Firefox: Click the three bars → Help → About Firefox
|
- [LayerForge Github](https://github.com/Azornes/Comfyui-LayerForge/releases) or via [ComfyUI Node Manager](https://registry.comfy.org/publishers/azornes/nodes/layerforge)
|
||||||
- Edge: Click the three dots → Help and feedback → About Microsoft Edge
|
2. Gather the required logs:
|
||||||
|
|
||||||
|
### 🔍 Enable Debug Logs (for **full** logs):
|
||||||
|
|
||||||
|
#### 1. Edit `config.js` (Frontend Logs):
|
||||||
|
Path:
|
||||||
|
```
|
||||||
|
ComfyUI/custom_nodes/Comfyui-LayerForge/js/config.js
|
||||||
|
```
|
||||||
|
Find:
|
||||||
|
```js
|
||||||
|
export const LOG_LEVEL = 'NONE';
|
||||||
|
```
|
||||||
|
Change to:
|
||||||
|
```js
|
||||||
|
export const LOG_LEVEL = 'DEBUG';
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 2. Edit `config.py` (Backend Logs):
|
||||||
|
Path:
|
||||||
|
```
|
||||||
|
ComfyUI/custom_nodes/Comfyui-LayerForge/python/config.py
|
||||||
|
```
|
||||||
|
Find:
|
||||||
|
```python
|
||||||
|
LOG_LEVEL = 'NONE'
|
||||||
|
```
|
||||||
|
Change to:
|
||||||
|
```python
|
||||||
|
LOG_LEVEL = 'DEBUG'
|
||||||
|
```
|
||||||
|
|
||||||
🔗 **Where to find the latest versions of ComfyUI and LayerForge:**
|
➡️ **Restart ComfyUI** after applying these changes to activate full logging.
|
||||||
- [ComfyUI Github](https://github.com/comfyanonymous/ComfyUI/releases)
|
|
||||||
- [LayerForge Github](https://github.com/Azornes/Comfyui-LayerForge/releases/tag/v1.2.4) or [LayerForge from manager Comfyui](https://registry.comfy.org/publishers/azornes/nodes/layerforge)
|
|
||||||
|
|
||||||
Make sure you have the latest versions before reporting an issue.
|
|
||||||
- type: input
|
- type: input
|
||||||
id: environment
|
id: environment
|
||||||
attributes:
|
attributes:
|
||||||
@@ -71,23 +98,36 @@ body:
|
|||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: backend_logs
|
||||||
|
attributes:
|
||||||
|
label: ComfyUI (Backend) Logs
|
||||||
|
description: |
|
||||||
|
After enabling DEBUG logs, please:
|
||||||
|
1. Restart ComfyUI.
|
||||||
|
2. Reproduce the issue.
|
||||||
|
3. Copy-paste the newest **TEXT** logs from the terminal/console here.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: console_logs
|
id: console_logs
|
||||||
attributes:
|
attributes:
|
||||||
label: Browser Console Logs
|
label: Browser Console Logs
|
||||||
description: |
|
description: |
|
||||||
**How to capture logs:**
|
After enabling DEBUG logs:
|
||||||
- **Open console:**
|
1. Open Developer Tools → Console.
|
||||||
- Chrome/Edge (Win/Linux): `Ctrl+Shift+J`
|
- Chrome/Edge (Win/Linux): `Ctrl+Shift+J`
|
||||||
Mac: `Cmd+Option+J`
|
Mac: `Cmd+Option+J`
|
||||||
- Firefox (Win/Linux): `Ctrl+Shift+K`
|
- Firefox (Win/Linux): `Ctrl+Shift+K`
|
||||||
Mac: `Cmd+Option+K`
|
Mac: `Cmd+Option+K`
|
||||||
- Safari (Mac): enable **Develop** menu in Preferences → Advanced, then `Cmd+Option+C`
|
- Safari (Mac): enable **Develop** menu in Preferences → Advanced, then `Cmd+Option+C`
|
||||||
- **Clear console** before reproducing:
|
2. Clear console (before reproducing):
|
||||||
- Chrome/Edge: click “🚫 Clear console” or press `Ctrl+L` (Win/Linux) / `Cmd+K` (Mac)
|
- Chrome/Edge: “🚫 Clear console” or `Ctrl+L` (Win/Linux) / `Cmd+K` (Mac).
|
||||||
- Firefox: `Ctrl+Shift+L` (newer) or `Ctrl+L` (older) (Win/Linux), Mac: `Cmd+K`
|
- Firefox: `Ctrl+Shift+L` (newer) or `Ctrl+L` (older) (Win/Linux) / `Cmd+K` (Mac).
|
||||||
- Safari: click 🗑 icon or press `Cmd+K` / `Ctrl+L`
|
- Safari: 🗑 icon or `Cmd+K`.
|
||||||
- Reproduce the issue and paste new logs here.
|
3. Reproduce the issue.
|
||||||
|
4. Copy-paste the **TEXT** logs here (no screenshots).
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
@@ -95,4 +135,4 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
**Optional:** You can also **attach a screenshot or video** to demonstrate the issue visually.
|
**Optional:** You can also **attach a screenshot or video** to demonstrate the issue visually.
|
||||||
To add media, simply drag & drop or paste image/video files into this issue form. GitHub supports common image formats and MP4/GIF files.
|
Simply drag & drop or paste image/video files into this issue form. GitHub supports common image formats and MP4/GIF files.
|
||||||
|
|||||||
Reference in New Issue
Block a user