I Can't Do the Debugging in VS Code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I Can't Do the Debugging in VS Code

I had index.html on D:/try, I opened the index.html in VS Code and I did the debugging. When I was debugging (F5), the chrome was opened and redirect it to localhost:8000 instead to the path of index.html (D:/try.). I had did the debugging twice. The first, chrome was redirected to D:/'try, but the second always redirected to localhost:8000. Why this happened?

20th Sep 2021, 2:30 PM
Kukuh Prihastomo
Kukuh Prihastomo - avatar
2 Answers
+ 1
Ok, my problem has been solved. I tried to delete .vscode folder in my project folder (D:/try) and work normally again.
21st Sep 2021, 1:41 AM
Kukuh Prihastomo
Kukuh Prihastomo - avatar
0
I want VS Code to debug my index.html whom on D:/try. How to do that?
21st Sep 2021, 12:11 AM
Kukuh Prihastomo
Kukuh Prihastomo - avatar