Versió 1.0.10: Un montó de FIXos pa que funcione en release

This commit is contained in:
2026-04-13 11:10:08 +02:00
parent 24957e575c
commit c8f9394614
5 changed files with 20 additions and 14 deletions

View File

@@ -20,6 +20,7 @@ constructor() {
// Redirigir console.log a la Debug Console
//console.log = (...args) => { this.sendEvent(new OutputEvent(args.join(" ") + "\n")); };
console.log("Debug Adapter iniciado");
this._stackFrames = [];
this.setDebuggerLinesStartAt1(true);
this.setDebuggerColumnsStartAt1(true);
@@ -263,7 +264,7 @@ constructor() {
console.log("[ADAPTER] launchRequest");
const program = args.program;
const cwd = args.cwd || process.cwd();
const cwd = args.cwd || args.workspaceFolder || process.cwd();
this.process = spawn(program, [], {
cwd: cwd,

View File

@@ -1,6 +1,6 @@
{
"name": "mini-adapter",
"version": "1.0.0",
"version": "1.0.10",
"main": "debugAdapter.js",
"dependencies": {
"vscode-debugadapter": "^1.51.0",