How to Debug the js?


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.



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


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


you can see here: