Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

Commit 5360feb

Browse files
committed
Fixing readme
1 parent e7f3112 commit 5360feb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To do this in your `launch.json` add a new debug config with two parameters.
3939
"type": "devtools-for-chrome",
4040
"request": "attach",
4141
"name": "Attach Chrome DevTools",
42-
"file": "${workspaceFolder}/index.html"
42+
"url": "http://localhost:8000/"
4343
}
4444
]
4545
}

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function getUrlFromConfig(folder: vscode.WorkspaceFolder, config: vscode.
150150
outUrlString = config.file;
151151
outUrlString = outUrlString.replace('${workspaceFolder}', folder.uri.path);
152152
outUrlString = pathToFileURL(outUrlString);
153-
} else if (config.url ) {
153+
} else if (config.url) {
154154
outUrlString = config.url;
155155
}
156156

0 commit comments

Comments
 (0)