Skip to content

SIGINT event not received when launched from debug viewlet #55465

Closed
@aeschli

Description

@aeschli

Testing #54866

elementary OS 0.4.1 Loki (Ubuntu 16.04.2)

  • have index.js
process.on('SIGINT', () => {
    console.log('Received SIGINT.');
    process.exit();
});

let i= 0;
setInterval(() => {
    console.log(`hello: ${i++}`);
}, 1000);
  • launch from te debug viewlet
  • Press the stop button on the debug toolbar. Programm terminates without SIGINT printed
  • run from the built-in terminal node index.js. Press Ctrl+C. Received SIGINT is printed and progamm terminted.

Metadata

Metadata

Assignees

Labels

*not-reproducibleIssue cannot be reproduced by VS Code Team member as describedbugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions