Set optimize to none for debugging
Add console.log for debugging