sajad torkamani

You want to pass $FilePath$ as an Application parameters value so that the file gets passed to the Node script:

How to get a Jetbrains Run configuration to run your current file
Tagged: Jetbrains