diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py
index 475cd478..6c9ae117 100644
--- a/sentry_sdk/consts.py
+++ b/sentry_sdk/consts.py
@@ -24,6 +24,7 @@ DEFAULT_OPTIONS = {
     "ignore_errors": [],
     "request_bodies": "medium",
     "before_send": None,
+    "debug": False,
 }
 
 SDK_INFO = {"name": "sentry-python", "version": VERSION}
diff --git a/sentry_sdk/hub.py b/sentry_sdk/hub.py
index ba2b4647..45881295 100644
--- a/sentry_sdk/hub.py
+++ b/sentry_sdk/hub.py
@@ -4,11 +4,13 @@ from contextlib import contextmanager
 
 from ._compat import with_metaclass
 from .scope import Scope
-from .utils import exc_info_from_error, event_from_exception, ContextVar
+from .utils import exc_info_from_error, event_from_exception, get_logger, ContextVar
 
 
 _local = ContextVar("sentry_current_hub")
 
+logger = get_logger(__name__)
+
 
 @contextmanager
 def _internal_exceptions():
@@ -134,7 +136,9 @@ class Hub(with_metaclass(HubMeta)):
     def capture_internal_exception(self, exc_info):
         """Capture an exception that is likely caused by a bug in the SDK
         itself."""
-        pass
+        client = self.client
+        if client is not None and client.options["debug"]:
+            logger.debug("Internal error in sentry_sdk", exc_info=exc_info)
 
     def add_breadcrumb(self, *args, **kwargs):
         """Adds a breadcrumb."""
diff --git a/sentry_sdk/utils.py b/sentry_sdk/utils.py
index b5dbf6eb..eeb5e98b 100644
--- a/sentry_sdk/utils.py
+++ b/sentry_sdk/utils.py
@@ -1,6 +1,7 @@
 import os
 import sys
 import linecache
+import logging
 
 from datetime import datetime
 from collections import Mapping, Sequence
@@ -520,6 +521,14 @@ def strip_string(value, assume_length=None, max_length=512):
     return value[:max_length]
 
 
+def get_logger(name):
+    rv = logging.getLogger(name)
+    if not rv.handlers:
+        rv.addHandler(logging.StreamHandler(sys.stderr))
+        rv.setLevel(logging.DEBUG)
+    return rv
+
+
 try:
     from contextvars import ContextVar
 except ImportError:

Add debug mode and do not use _internal_exceptions on expected fails
A debug mode should be added that logs out when events are dropped and internal exceptions are ignored.
diff --git a/tests/conftest.py b/tests/conftest.py
index a33aa855..b98a2c86 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -15,7 +15,10 @@ if not os.path.isfile(SEMAPHORE):
 
 
 @pytest.fixture(autouse=True)
-def reraise_internal_exceptions(monkeypatch):
+def reraise_internal_exceptions(request, monkeypatch):
+    if "tests_internal_exceptions" in request.keywords:
+        return
+
     def capture_internal_exception(exc_info):
         reraise(*exc_info)
 
diff --git a/tests/test_client.py b/tests/test_client.py
index dbf1cde4..d65f13c6 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -138,7 +138,7 @@ def test_configure_scope_unavailable(no_sdk, monkeypatch):
     assert not calls
 
 
-def test_transport_works(sentry_init, httpserver, request, capsys):
+def test_transport_works(httpserver, request, capsys):
     httpserver.serve_content("ok", 200)
 
     client = Client("http://foobar@{}/123".format(httpserver.url[len("http://") :]))
@@ -152,3 +152,21 @@ def test_transport_works(sentry_init, httpserver, request, capsys):
     out, err = capsys.readouterr()
     assert not err and not out
     assert httpserver.requests
+
+
+@pytest.mark.tests_internal_exceptions
+def test_client_debug_option_enabled(sentry_init, caplog):
+    sentry_init(debug=True)
+
+    Hub.current.capture_internal_exception((ValueError, ValueError("OK"), None))
+    assert "OK" in caplog.text
+
+
+@pytest.mark.tests_internal_exceptions
+@pytest.mark.parametrize("with_client", (True, False))
+def test_client_debug_option_disabled(with_client, sentry_init, caplog):
+    if with_client:
+        sentry_init()
+
+    Hub.current.capture_internal_exception((ValueError, ValueError("OK"), None))
+    assert "OK" not in caplog.text

pip install -e .[flask]
parse_log_pytest
requirements.txt
pytest pytest-xdist pytest-cov pytest-localserver pytest-mock pytest-asyncio
3.7
test-requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
atomicwrites==1.4.1
attrs==24.2.0
blinker==1.6.3
certifi @ file:///croot/certifi_1671487769961/work/certifi
click==8.1.8
coverage==7.2.7
distlib==0.3.9
exceptiongroup==1.2.2
execnet==2.0.2
filelock==3.12.2
Flask==2.2.5
hypothesis==3.69.9
importlib-metadata==6.7.0
iniconfig==2.0.0
itsdangerous==2.1.2
Jinja2==3.1.6
MarkupSafe==2.1.5
more-itertools==9.1.0
packaging==24.0
platformdirs==4.0.0
pluggy==0.13.1
py==1.11.0
pytest==7.4.4
pytest-asyncio==0.21.2
pytest-cov==4.1.0
pytest-forked==1.2.0
pytest-localserver==0.4.1
pytest-mock==3.11.1
pytest-xdist==1.23.0
-e git+https://github.com/getsentry/sentry-python.git@33115bf5c9c835e5488aa57baf34e2b8ee7585fe#egg=sentry_sdk
six==1.11.0
tomli==2.0.1
tox==3.2.1
typing_extensions==4.7.1
urllib3==2.0.7
virtualenv==20.26.6
Werkzeug==2.2.3
zipp==3.15.0

name: sentry-python
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - atomicwrites==1.4.1
      - attrs==24.2.0
      - blinker==1.6.3
      - click==8.1.8
      - coverage==7.2.7
      - distlib==0.3.9
      - exceptiongroup==1.2.2
      - execnet==2.0.2
      - filelock==3.12.2
      - flask==2.2.5
      - hypothesis==3.69.9
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - itsdangerous==2.1.2
      - jinja2==3.1.6
      - markupsafe==2.1.5
      - more-itertools==9.1.0
      - packaging==24.0
      - platformdirs==4.0.0
      - pluggy==0.13.1
      - py==1.11.0
      - pytest==7.4.4
      - pytest-asyncio==0.21.2
      - pytest-cov==4.1.0
      - pytest-forked==1.2.0
      - pytest-localserver==0.4.1
      - pytest-mock==3.11.1
      - pytest-xdist==1.23.0
      - sentry-sdk==0.1.3
      - six==1.11.0
      - tomli==2.0.1
      - tox==3.2.1
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - virtualenv==20.26.6
      - werkzeug==2.2.3
      - zipp==3.15.0
prefix: /opt/conda/envs/sentry-python

tests/test_client.py::test_client_debug_option_enabled
tests/test_client.py::test_transport_option tests/test_client.py::test_ignore_errors tests/test_client.py::test_capture_event_works tests/test_client.py::test_atexit[10] tests/test_client.py::test_atexit[20] tests/test_client.py::test_configure_scope_available tests/test_client.py::test_configure_scope_unavailable[True] tests/test_client.py::test_configure_scope_unavailable[False] tests/test_client.py::test_transport_works tests/test_client.py::test_client_debug_option_disabled[True] tests/test_client.py::test_client_debug_option_disabled[False]
sentry_sdk/hub.py sentry_sdk/consts.py sentry_sdk/utils.py
sentry_sdk/hub.py sentry_sdk/consts.py sentry_sdk/utils.py