Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self-contained build using in debug mode not possible #396

Closed
2 of 6 tasks
rednose84 opened this issue Jan 29, 2019 · 2 comments · Fixed by SAP/ui5-builder#234
Closed
2 of 6 tasks

self-contained build using in debug mode not possible #396

rednose84 opened this issue Jan 29, 2019 · 2 comments · Fixed by SAP/ui5-builder#234
Assignees
Labels
bug Something isn't working module/ui5-builder Related to the UI5 Builder module

Comments

@rednose84
Copy link

Expected Behavior

Regardless if I use ui5 build --all or ui5 build self-contained --all I need the ability to load the app in debug-mode with URL param sap-ui-debug=true

Current Behavior

In self-contained build mode i don't get the minified / uglified js - files, when i use url param sap-ui-debug=true. This files are still present in the app folders, so it seems that only the url - param depending loading is missed here

Steps to reproduce the issue

  1. build your app with ui5 build self-contained --all
  2. run your app from dist - folder via (npm) serve command
  3. add the url param ?sap-ui-debug=true
  4. open browser developer tools and try to debug one of your controller files

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 1.0.0

Affected components (if known)

@RandomByte
Copy link
Member

Root cause: Missing sap-ui-custom-dbg.js. @tommyvinhlam to take over

@RandomByte
Copy link
Member

This has been fixed with UI5 Builder release 1.0.5 and can be tested with UI5 CLI release 1.2.4.

Please upgrade using npm install --global @ui5/cli@latest and retest 👍

@RandomByte RandomByte transferred this issue from SAP/ui5-builder Nov 20, 2020
@RandomByte RandomByte added bug Something isn't working module/ui5-builder Related to the UI5 Builder module labels Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module/ui5-builder Related to the UI5 Builder module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants