webden
webden copied to clipboard
How to not auto run script?
I wrote a massive of code which takes much time to run. I don't want it to run every time I edited the code but only when I go to the preview tab or the console. What can I do?
@14725 one way of handling this in the meantime is to wrap your code in a function and then you can easily comment it out like:
function init() {
console.log('code running...');
}
// init();
We can add this setting on the roadmap though.