Console.log in pre request script is not showing in async

You are missing the semi colon at the end of the first console log to terminate that command.

console.log('test1');

(async function main() {
    console.log('test2')
})();

image

1 Like