Skip to content

Commit

Permalink
Replace deprecated VSCode launch.json variable (#6110)
Browse files Browse the repository at this point in the history
Replace deprecated ${workspaceRoot} variable with ${workspaceFolder} in VSCode launch.json. See https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented
  • Loading branch information
raiskila authored and ianschmitz committed Jan 1, 2019
1 parent 1aca3cc commit 86eb24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/setting-up-your-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Then add the block below to your `launch.json` file and put it inside the `.vsco
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src",
"webRoot": "${workspaceFolder}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
Expand Down

0 comments on commit 86eb24d

Please sign in to comment.