add-debug-endpoint