How to Debug the js?


#1

As the picture, I can just see my html files,but js files. So, ‘console.log()’ is not work in main.js;

And,what should i do? I need know the function is work in js file,And print some debug messages.

Thanks!!!


#2

console.log in main process just output to command line terminal.


#3

oh!!! Thanks, But I still want debug the js file. Can i add the main.js files to debug window and add breakpoints?


#4

you can see here: