Skip to content

Debugging ​

Use these methods to debug issues in a sku app.

Enable sku Logs ​

By default, sku's debug logs are disabled. These logs can show sku's config resolution, package resolution, development-server routing, and more. Pass the --debug flag to the sku CLI to enable them:

sh
yarn sku start --debug

Webpack Stats ​

Use the --stats CLI argument for more detail about webpack warnings and errors. This overrides 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