How to Debug the js file #113

Closed
opened 2026-01-29 16:31:16 +00:00 by claunia · 6 comments
Owner

Originally created by @lyy0808 on GitHub (Jan 23, 2018).

Originally assigned to: @GregorBiswanger on GitHub.

In my project ,i feel my js file bring some erro ,but i can't debug withd the vs2017,and the chrome debug is also don't work. Tell me some help .I think is a important tools.Thanks

Originally created by @lyy0808 on GitHub (Jan 23, 2018). Originally assigned to: @GregorBiswanger on GitHub. In my project ,i feel my js file bring some erro ,but i can't debug withd the vs2017,and the chrome debug is also don't work. Tell me some help .I think is a important tools.Thanks
claunia added the question label 2026-01-29 16:31:16 +00:00
Author
Owner

@robertmuehsig commented on GitHub (Jan 23, 2018):

@GregorBiswanger ?

@robertmuehsig commented on GitHub (Jan 23, 2018): @GregorBiswanger ?
Author
Owner

@GregorBiswanger commented on GitHub (Jan 23, 2018):

Hi lyy0808,
use the Chrome Developer Tools direct from the Electron.NET App.

You can open this via code with:
Electron.WindowManager.BrowserWindows.First().WebContents.OpenDevTools()

Documentation for debugging with the Chrome Developer Tools:
https://developers.google.com/web/tools/chrome-devtools/javascript/

I hope my answer helps you.

@GregorBiswanger commented on GitHub (Jan 23, 2018): Hi lyy0808, use the **Chrome Developer Tools** direct from the Electron.NET App. You can open this via code with: `Electron.WindowManager.BrowserWindows.First().WebContents.OpenDevTools()` Documentation for debugging with the Chrome Developer Tools: https://developers.google.com/web/tools/chrome-devtools/javascript/ I hope my answer helps you.
Author
Owner

@lyy0808 commented on GitHub (Jan 24, 2018):

Thank you ,it's ok

@lyy0808 commented on GitHub (Jan 24, 2018): Thank you ,it's ok
Author
Owner

@jadhavrani123 commented on GitHub (Mar 9, 2020):

@GregorBiswanger sir I want to close my developer tool on click cntrl + shift + I

@jadhavrani123 commented on GitHub (Mar 9, 2020): @GregorBiswanger sir I want to close my developer tool on click cntrl + shift + I
Author
Owner

@jadhavrani123 commented on GitHub (Mar 9, 2020):

WebPreferences = new WebPreferences
{
DevTools = false
}
I am use this code........but it not work for me

@jadhavrani123 commented on GitHub (Mar 9, 2020): WebPreferences = new WebPreferences { DevTools = false } I am use this code........but it not work for me
Author
Owner

@jadhavrani123 commented on GitHub (Mar 12, 2020):

My editor is Visual studio 2019 with Angular fronted
At the time exe package create 3 folder local , swiftshader , resources but in resources folder bin folder is create how to remove it??

@jadhavrani123 commented on GitHub (Mar 12, 2020): My editor is Visual studio 2019 with Angular fronted At the time exe package create 3 folder local , swiftshader , resources but in resources folder bin folder is create how to remove it??
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#113