First commit

This commit is contained in:
2026-03-29 18:36:02 +02:00
commit eb123a60cb
7 changed files with 209 additions and 0 deletions

24
extension.js Normal file
View File

@@ -0,0 +1,24 @@
const vscode = require('vscode');
const path = require('path');
function activate(context) {
const factory = {
createDebugAdapterDescriptor(session, executable) {
const command = "node";
const args = [path.join(__dirname, "adapter", "debugAdapter.js")];
return new vscode.DebugAdapterExecutable(command, args);
}
};
const registration = vscode.debug.registerDebugAdapterDescriptorFactory(
"myLuaApp",
factory
);
context.subscriptions.push(registration);
}
function deactivate() {}
module.exports = { activate, deactivate };