Skip to content

Commit

Permalink
Electron 2.0 and inspector protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed May 30, 2018
1 parent f636f94 commit c20aef7
Show file tree
Hide file tree
Showing 9 changed files with 3,687 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# Debugging Electron in VSCode

For details, see http://code.matsu.io/1
For details, see http://blog.matsu.io/1

Click into each folder for instructions.

Expand Down
2 changes: 1 addition & 1 deletion electron-quick-start-es6/.vscode/launch.json
Expand Up @@ -11,7 +11,7 @@
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"program": "${workspaceRoot}/main.js",
"protocol": "legacy"
"protocol": "inspector"
},
{
"name": "Debug Renderer Process",
Expand Down
7 changes: 3 additions & 4 deletions electron-quick-start-es6/README.md
Expand Up @@ -4,16 +4,15 @@

## Instructions

- `npm install`
- `yarn` or `npm install`
- `npm run dev` in a terminal
- Open it in VS Code
- Install [Debugger for Chrome](https://marketplace.visualstudio.com/items/msjsdiag.debugger-for-chrome) if you haven't
- (Windows) Go to `.vscode/launch.json` and modify `runtimeExecutable`
- Run either "Debug Main Process" or "Debug Renderer Process" in Debug Viewlet

## Commit that has the modification
## Changelog

[4bb4a93](https://github.com/octref/vscode-electron-debug/commit/4bb4a93388d94e177c00e1c80fd98d89d83d43f7)
- 05/30/18: Update to Electron 2.0

## License

Expand Down
2 changes: 1 addition & 1 deletion electron-quick-start-es6/package.json
Expand Up @@ -27,7 +27,7 @@
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.14.0",
"electron": "1.5.1",
"electron": "^2.0.2",
"webpack": "^1.13.2",
"webpack-dev-server": "^1.16.1"
}
Expand Down

0 comments on commit c20aef7

Please sign in to comment.