You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# electron-typescript-vscode
2
2
3
-
This project provides a minimal working example of how to set up Visual Studio Code to develop an Electron app in Typescript, including debug support.
3
+
The aim of this repository is to help setting up Visual Studio Code for development and debugging of Electron apps in Typescript.
4
4
5
-
Visual Studio Code comes with Electron support and Typescript support out of the box, but bringing the two together requires some knowledge of the available configuration options that beginners may not have. This repository contains a Visual Studio Code project with the bare minimum configuration to show how Visual Studio Code, Node, Electron and Typescript must be configured to work together.
5
+
Visual Studio Code comes with Electron support and Typescript support out of the box, but bringing the two together requires some advanced knowledge of the available configuration options. The repository contains a README with step by step instructions and an example project to demonstrate how Visual Studio Code, Node, Electron and Typescript must be configured to work together.
6
6
7
-
The latest example has been created and tested on Linux with
7
+
The latest example project has been created and tested on Linux with
8
8
- Node v15.13.0
9
9
- Electron v12.0.2
10
10
- Typescript v4.2.3
@@ -32,13 +32,13 @@ npm start
32
32
33
33
It is required for debugging renderer processes.
34
34
35
-

35
+

36
36
37
37
1) In the Run view, select the "Electron: All" configuration.
38
38
39
39
This is a compound configuration that will start both the "Electron: Main" and "Electron: Renderer" configurations.
you have likely come across a bug in the new JavaScript debugger for Node.js and Chrome, which is currently in preview and enabled by default. It is used by recent versions of the "Debugger for Chrome" extension. Disabling the preview debugger will solve the problem (https://github.com/microsoft/vscode/issues/102493).
54
+
you have likely come across a bug in the new JavaScript debugger for Node.js and Chrome, which is currently in preview and enabled by default. It is used by recent versions of the "Debugger for Chrome" extension. As a workaround, try to disable the preview debugger (https://github.com/microsoft/vscode/issues/102493).
0 commit comments