tanepiper / SublimeText-Nodejs

nodejs snippets and bindings for Sublime Text 3
Do What The F*ck You Want To Public License
1.13k stars 262 forks source link

package.json : Finished with exit code 1 #71

Open HiZhaoxiaoyang opened 7 years ago

HiZhaoxiaoyang commented 7 years ago

Hi, command can not run in package.json script mode. how to config it in Nodejs.sublime-build or use other tools such as "commander".

and "Ctrl-B" bind with root command "npm run dev" or "yarn start" ?

besides, how to run in debug mode with break point?

thanx~

varp commented 7 years ago

Hey @HiZhaoxiaoyang. Answering to the second part of your question: how to run in debug mode with break point? At the moment you cannot do this. I'm working on it in the branch interactive-debugger in my own fork of the repo.

What about the first part of your question, that functionality also will be done in future releases. As a workaround, I can suggest you write a custom build file for your needs. How to do it look at http://docs.sublimetext.info/en/latest/file_processing/build_systems.html