In this article, I will share steps on how to set up and debug javascript code in Python Flask using Pycharm. This setup could be extremely handy for developing Flask web apps.
Go Run -> Edit Configurations
Add Javascript Debug. I named it to js_debug configuration when creating one.

In the URL location set the URL which you get when you run your flask local web server.