flatiron / prompt

a beautiful command-line prompt for node.js

Home Page:http://github.com/flatiron/prompt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Prompt" is not starting during VS Code debug session

VladimirAmiorkov opened this issue · comments

When I start a debug session and I get to the prompt.get() the function inside the get is never hit. If I start the same js file directly with node it works as expected.
I do:

var prompt = require('prompt');

prompt.start();
prompt.get({
    name: 'variableA',
    description: "Set variableA"
}, function (err, result) {
 // Not hit
});

Am I doing something wrong here? Here is my info:

"dependencies": {
		"prompt": "^1.0.0"
	}
$ node --version
v10.13.0

VS Code version: Version 1.29.1 (1.29.1)