How to add debug script for debugging the lightning js apps on vs-code during development

Is there a way by which we can debug lightning js apps on vscode, just like how we can debug the react applications during development?