Console.log not Printing to the in wappler console

Wappler Version : 4.0.1
Operating System : Windows 10 Pro
Server Model: PHP
Hosting Type: Custom Hosting

What do you think should happen?
console.log is suppose to log into the error console bottom left of wappler

What actually happens?
Console.log does not log inside of wappler, But it does log when opened in a browser

How to reproduce

try to make a console.log function on static click of any button

    <script>

            function Logging() {
            console.log("LOG");
        }

        </script>

image_2021-07-29_112429

I have tried everything from creating it in a JS file all the way to completely reinstalling wappler,
I have only had this issue in the latest version of wappler

Hi,

There is no functionality where you can do a JS console.log from client side into the Wappler output or terminal window.
You can get console.log to work in a NodeJS environment when using a custom module.

So, right now, you can see the log only in browser’s console when the page runs.

that is weird, because before the latest update it would always print to the bottom window

Have never seen that to be honest.
If that is the case, this could indeed be a bug.

i have found a workaround by using console.warn() instead

1 Like