Skip to content

Instantly share code, notes, and snippets.

@h1romas4
Created April 18, 2019 09:53
Show Gist options
  • Save h1romas4/17fcb71999e53a6aee61c4475b44b026 to your computer and use it in GitHub Desktop.
Save h1romas4/17fcb71999e53a6aee61c4475b44b026 to your computer and use it in GitHub Desktop.
VS Code + Debugger for Firefox でデバッグする場合の設定
// 以下のように Firefox をデバッグサーバーで起動しておく。
// "C:\Program Files\Firefox Developer Edition\firefox.exe" -start-debugger-server
// about:config
// devtools.debugger.remote-enabled true
// devtools.chrome.enabled true
// devtools.debugger.prompt-connection false
// devtools.debugger.force-local false
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch localhost",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost:8080",
"pathMappings": [{
"url": "http://localhost:8080",
"path": "${workspaceFolder}/src/main/webapp"
}]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment