Files
StreamLens/debug_streamlens.py

31 lines
687 B
Python
Raw Permalink Normal View History

2025-07-30 23:48:32 -04:00
#!/usr/bin/env python3
"""
StreamLens Development Script with Debugging
"""
import sys
from pathlib import Path
# Add analyzer to path
sys.path.insert(0, str(Path(__file__).parent))
from analyzer.tui.textual.app_v2 import StreamLensAppV2
from analyzer.analysis.core import EthernetAnalyzer
def main():
"""Run StreamLens with debugging enabled"""
print("🚀 Starting StreamLens in debug mode...")
# Create analyzer
analyzer = EthernetAnalyzer()
app = StreamLensAppV2(analyzer=analyzer)
# Start debugging automatically
app.start_debugging(web_interface=True, port=8080)
# Run the app
app.run()
if __name__ == "__main__":
main()