On Mon, Aug 3, 2020 at 6:32 AM Tim Worcester <[email protected]>
wrote:

> Guacamole deploys itself with the guacamole.min.js and guacamole.js
> files.  As far as I know there is no way to load the page with guacamole.js
> pulled.
>
> I usually exec into the docker container and copy guacamole.js over
> guacamole.min.js and that enables me to be able to drop javascript
> breakpoints :).
>
>
I believe you should be able to do at least some of this from within the
Developer Console of your preferred browser.  In Chrome, you can load the
Sources tab and then find the app.js source which contains the combined JS
files.  You should be able to set watches and breakpoints within that
file.  Obviously it becomes a little harder because the code is made
generic, so variables names are removed and shortened to single letters,
and some other optimization is run on the JS code as its loaded in there.

-Nick

>

Reply via email to