1/17/2024 0 Comments Webstorm debug electron![]() ![]() console.WebConsoleHistoryView - WebConsole page initialization complete 10:24:25,062 INFO - WebConsole page loaded ![]() bind() returned an error: Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig. 10:13:27,763 INFO - rowsers.BrowserLauncherAppless - bind() returned an error: Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig. 10:13:27,763 INFO - rowsers.BrowserLauncherAppless - Timed out 10:13:16,176 INFO - initialization complete 10:13:16,172 INFO - WebConsole page loaded script.IdeScriptEngineManager - initialized in 114 ms 10:12:30,949 INFO - 5SchemaProvider - HTML5_SCHEMA_LOCATION = C:/Program Files/JetBrains/WebStorm 2020.2.1/lib/intellij-xml.jar!/resources/html5-schema/html5.rnc 10:12:27,631 INFO - ion.PackageVersionRangeMatcher - Matching 61 done in 208 ms 10:12:26,534 INFO - gnostic.WindowsDefenderChecker - Windows Defender status: not used 10:12:22,798 INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to index diagnostic.PerformanceWatcher - Indexable file iteration took 1088ms general responsiveness: ok EDT responsiveness: ok diagnostic.PerformanceWatcher - Pushing JS language level to 115 libraries took 1308ms general responsiveness: ok EDT responsiveness: 1/2 sluggish diagnostic.PerformanceWatcher - Pushing properties took 251ms general responsiveness: ok EDT responsiveness: ok 10:12:21,384 INFO - cloudConfig.CloudConfigManager - = StatusBar.start create = diagnostic.PerformanceWatcher - Post-startup activities under progress took 751ms general responsiveness: ok EDT responsiveness: 1/1 sluggish Chrome always starts with a blank page and i am unable to debug anything. ![]() Add the remote-debugging-port option manually with port 52421 and used another chrome-user-data folder. What i have tried so far:Ĭhanged the path directrly to chrome.exe under Tools -> Web Browsers. My guess the chrome instance is not started with the -remote-debuging-port option. I only see the SYN_SEND from my webstorm instance. Thats correct on Windows 10 i cannot find any open port 52421 on any started chrome instance using netstat -ano. Please ensure that the browser was started successfully with remote debugging port opened. Port cannot be opened if Chrome having the same User Data Directory is already launched. ![]() Waiting for connection to localhost:52421. You can also watch for specific expressions or drop into the debugger whenever an uncaught exception is thrown.įigure 5: The debugger built in to Visual Studio code allows you to pause the execution of your application and drop in to investigate bugs.Webstorm 2020.2.1 only opens a about:blank page, if i want to debug my angular application. Breakpoints aren’t the only way to debug your code. Execution will pause at the breakpoint, allowing you to inspect the call stack, see which variables are in scope, and interact with a live console. With these two configuration files in place, you can click on the left margin of any line in your main process to set a breakpoint and then press F5 to run the application. You can read more about launch configurations here. on ( 'ready', ( ) => īe sure to replace with the appropriate name for your system. This method, as you might as expect, opens the Developer Tools in the BrowserWindow it’s called on. The webContents property on BrowserWindow instances has a method called openDevTools(). In addition, you can also trigger the Developer Tools programmatically. At any point, you can press Cmd + Opt + I on macOS or Ctrl + Shift + I on Windows or Linux. You can create your own custom menu and eliminate this feature in the event that you’d prefer not to expose it your users.įigure 2: Figure 2 The tools can be toggled on and off in the default menu provided by Electron.ĭeveloper Tools can be accessed in two other ways. Electron’s default application menu provides a command for opening the Chrome Developer Tools in our application. Figure 1: The Chrome Developer Tools are available to us in the renderer process like they’d be in a browser-based application.ĭebugging the renderer process is relatively straight-forward. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |