Skip to content

Debugging

Below are some strategies for debugging issues in your sku app.

Enable sku Logs

By default, sku's debug logs are disabled. These logs can offer insights into sku's config resolution, package resolution, dev server routing, and more. They can be enabled by passing the --debug flag to the sku CLI:

sh
yarn sku start --debug

Webpack Stats

For more detailed information about webpack warnings/errors, the --stats CLI argument can be used to override the default webpack stats preset:

sh
yarn sku start --stats=detailed

The default value of the --stats argument is as follows:

sku commandwebpack stats preset
start/start-ssrsummary
build/build-ssrerrors-only