hxcpp-debugger icon indicating copy to clipboard operation
hxcpp-debugger copied to clipboard

Is it possible to support "console" attribute on launch.json?

Open NulllStack opened this issue 2 years ago • 2 comments

Since the vscode default debug console didn't support for input stream, as a beginner writing some standard input/output program would be impossible to debug when Sys.stdin().readLine() being used , given that the program is waiting some input.

NulllStack avatar Jan 28 '22 17:01 NulllStack

so given that reason I would like to use "console": "externalConsole" attribute in launch.json

NulllStack avatar Jan 28 '22 17:01 NulllStack

according to the vscode docs it seems this attribute supports depends on debugger implementations

Many debuggers support some of the following attributes: program - executable or file to run when launching the debugger args - arguments passed to the program to debug env - environment variables (the value null can be used to "undefine" a variable) envFile - path to dotenv file with environment variables cwd - current working directory for finding dependencies and other files port - port when attaching to a running process stopOnEntry - break immediately when the program launches console - what kind of console to use, for example, internalConsole, integratedTerminal, or externalTerminal

NulllStack avatar Jan 28 '22 17:01 NulllStack