Troubleshooting scripts - Port Swigger
Summary: PortSwigger's guide explains that Burp highlights compilation errors in real time as scripts are written, and these must be resolved before a script can be applied. Runtime errors appear as warnings in the relevant Burp tool after a script is applied, and can be debugged using logging.logToOutput and logging.logToError, which print messages to the Console tab after clicking Apply.
Why it matters: The logging interface that surfaces debug output is unavailable in the Bambda library editor, so anyone debugging scripts there has to rely on the Compilation errors tab alone.
Read the original at PortSwigger Research ↗
- Topics
- Vulnerabilities & Patching
- Related
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026