From 2a31fea377441725c8079f9cbacfa2d313b3476e Mon Sep 17 00:00:00 2001 From: Matthias Otterbach Date: Tue, 28 Jan 2025 11:14:53 +0100 Subject: [PATCH] Describe debug=true url hint more in detail 394534 --- .../technical-guide/pages/user-interface/build-stack.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/modules/technical-guide/pages/user-interface/build-stack.adoc b/docs/modules/technical-guide/pages/user-interface/build-stack.adoc index 04a420c17a..963d278a72 100644 --- a/docs/modules/technical-guide/pages/user-interface/build-stack.adoc +++ b/docs/modules/technical-guide/pages/user-interface/build-stack.adoc @@ -171,7 +171,12 @@ Content hashes are generated and added to the bundles for optimal cashing. The Scout server delivers such bundles if it runs in production mode (`scout.devMode=false`). . res: contains all static resources from the various resource folders specified by the `resDir` array, see <>. -TIP: If the property `scout.urlHints.enabled` is set to `true`, the dev files can be requested on the fly even if the server does not run in `devMode`. Just add the query parameter `?debug=true` and the files in the dev folder instead of the ones in the prod folder are delivered. This can be very useful to debug a deployed application. +[TIP] +-- +If the property `scout.urlHints.enabled` is set to `true`, the dev files can be requested on the fly even if the server does not run in `devMode`. Just add the query parameter `?debug=true` and the files in the dev folder instead of the ones in the prod folder are delivered. This can be very useful to debug a deployed application. + +In detail: Setting the query parameter `?debug=true` changes the defaults for all url hint query parameters: `compress=false` (w/o debug default would be `true`), `cache=false` (w/o debug default would be `true`), `inspector=true` (w/o debug default would be `false`), `minify=false` (w/o debug default would be `true`). These settings are stored in a session cookie. +-- In order to start the build, use the following command: