How can I test cart transformation function with CLI?

I want to check if my cart transformation function runs in checkout and specifically the console.log output. But the checkout gives me 404 after I enter dev mode by shopify app dev.

How can I check the console log without deploying for each change?

Or can I see the function logs when I visit the cart page? I use shopify app logs --source but there is nothing shown here when I visit the cart page

1 Like