Disclaimer: This is in a hacked-together Proof-of-concept state. YMMV
Clicking on Filenames in the console will open the location via vscodium://file/project/path
:
- Download latest
release.zip
: - Unzip to a location of your choice:
unzip release.zip -d ~/.vscode/
(unzips to~/.vscode/devtools-frontend/
) - In your project, add
.vscode/devtools-editor-config.json
:{ "urlHandler": "vscodium", "appCodeURLs": [ { "match": "http://localhost:8080/", "replace": "" } ] }
- Add to your
.vscode/launch.json
the chrome argexample:--custom-devtools-frontend=file://${env:HOME}/.vscode/devtools-frontend/
{ "version": "0.2.0", "configurations": [ { "type": "chrome", "runtimeExecutable": "custom", "request": "launch", "name": "Frontend", "url": "http://localhost:3000", "webRoot": "${workspaceFolder}", "userDataDir": "${env:HOME}/.vscode/chrome-data", "runtimeArgs": [ "--custom-devtools-frontend=file://${env:HOME}/dev/stuff/devtools-frontend/" ], "sourceMaps": true, "timeout": 5000, } ] }
- Launch chromium
- Open Devtools
- In devtools settings, add your project directory as Workspace
(the directory must contain
.vscode/devtools-editor-config.json
file) - Workaround for #1:
- undock devtools
- re-dock (optional)
urlHandler
- which url is handled by your instance, e.g.:vscode
,vscodium
,vscode-insiders
appCodeURLs
- configure how to transform URLs so that they point to the file relative to your workspace root, rules are applied in order, so put more specific rules firstmatch
- which URLs to match (you see it when hovering over the filename in console)replace
- replace the matched part so that the path points to the file relative from your workspace root, no trailing slash
- (optional)
workspacePath
- if, for any reason, you need to overwrite the workspace path ¯\(ツ)/¯
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Please be aware that DevTools follows additional development guidelines.
The issue triage guidelines can be found in docs/triage_guidelines.md.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found in docs/workflows.md.
- DevTools documentation: devtools.chrome.com
- Debugging protocol docs and Chrome Debugging Protocol Viewer
- awesome-chrome-devtools: recommended tools and resources
- Contributing to DevTools: bit.ly/devtools-contribution-guide
- Contributing To Chrome DevTools Protocol: docs.google.com
- DevTools Design Review Guidelines: design_guidelines.md
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466
) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
- All DevTools commits: View the log or follow @DevToolsCommits on Twitter
- All open DevTools tickets on crbug.com
- File a new DevTools ticket: new.crbug.com
- Code reviews mailing list: devtools-reviews@chromium.org
- @ChromeDevTools on Twitter
- Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools