In run configurattion, chose a python configuration. Then select module instead of script As module use bokeh Add your arguments, like "serve app" correctly set your working directory. Then debug!