@@ -8,32 +8,43 @@ A VSCode extension to host the chrome devtools inside of a webview.
88 </a>
99</p >
1010
11- ![ Demo] ( demo.gif )
11+ ## Attach to a running chrome instance:
12+ ![ Demo1] ( demo.gif )
13+
14+ ## Launch a chrome debugger project and use screencasting:
15+ ![ Demo2] ( demo2.gif )
1216
1317# Using the extension
14- - Start chrome with remote-debugging enabled on port 9222
15- - ` chrome.exe --remote-debugging-port=9222 `
16- - Open the devtools inside VS Code
17- - Either
18- - Run the ` DevTools for Chrome: Attach to a target ` command to attch to an instance of Chrome that's running
19- - Run the ` DevTools for Chrome: Launch ` command to launch Chrome and attach to it (you can navigate to whatever page you want)
18+ ## Launching Chrome manually
19+ - Start chrome with no extensions and remote-debugging enabled on port 9222:
20+ - ` chrome.exe --disable-extensions --remote-debugging-port=9222 `
21+ - Open the devtools inside VS Code:
22+ - Run the command - ` DevTools for Chrome: Attach to a target `
23+ - Select a target from the drop down
24+
25+ ## Launching Chrome via the extension
26+ - Start chrome:
27+ - Run the command - ` DevTools for Chrome: Launch Chrome and then attach to a target `
28+ - Navigate to whatever page you want
29+ - Open the devtools inside VS Code:
2030 - Select a target from the drop down
2131
2232
2333# Known Issues
2434- Prototyping stage
25- - Settings are not persisted
35+ - Settings in the devtools are not persisted
36+ - Chrome browser extensions can sometimes cause the webview to terminate
2637
2738# Developing the extension itself
2839
2940- Start chrome with remote-debugging enabled on port 9222
30- - ` chrome.exe --remote-debugging-port=9222 `
41+ - ` chrome.exe --disable-extensions -- remote-debugging-port=9222 `
3142- Run the extension
3243 - ` npm install `
3344 - ` npm run watch ` or ` npm run build `
3445 - Open the folder in VSCode
3546 - ` F5 ` to start debugging
3647- Open the devtools
37- - Run the ` DevTools: Attach to a target ` command
48+ - Run the command - ` DevTools for Chrome : Attach to a target `
3849 - Select a target from the drop down
3950
0 commit comments