Matthias Ladkau d0295ce844 feat: Adding debug adapter for VSCode 3 년 전
..
.vscode d0295ce844 feat: Adding debug adapter for VSCode 3 년 전
images 7f6ef4884b chore: Adding logo 3 년 전
src d0295ce844 feat: Adding debug adapter for VSCode 3 년 전
syntaxes 0312fd1314 feat: Adding Game of Life example 3 년 전
.eslintrc.js d0295ce844 feat: Adding debug adapter for VSCode 3 년 전
.vscodeignore f2ab07c742 feat: VS Code support 3 년 전
README.md ecfaf8048d feat: Adding initial parts for debug support 3 년 전
language-configuration.json f2ab07c742 feat: VS Code support 3 년 전
notes.txt ecfaf8048d feat: Adding initial parts for debug support 3 년 전
package.json d0295ce844 feat: Adding debug adapter for VSCode 3 년 전
tsconfig.json ecfaf8048d feat: Adding initial parts for debug support 3 년 전

README.md

VSCode extension for ECAL

Folder content

  • package.json - manifest file
  • syntaxes/ecal.tmLanguage.json - Text mate grammar file
  • language-configuration.json - language configuration for VSCode

Build the extention

To build the extention you need npm installed.

VSIX file can be build with npm run package

Install the extension

The extention can be installed using a precompiled VSIX file which can be downloaded from here:

https://devt.de/krotik/ecal/releases

Launch config for ecal projects

{
	"version": "0.2.0",
	"configurations": [
		{
			"type": "ecaldebug",
			"request": "launch",
			"name": "Debug ECAL script with ECAL Debug Server",

			"serverURL": "localhost:43806",
            "dir": "${workspaceFolder}",
			"executeOnEntry": true,
			"trace": false,
		}
	]
}
  • serverURL: URL of the ECAL debug server.
  • dir: Root directory for ECAL debug server.
  • executeOnEntry: (optional) Execute the ECAL script on entry. If this is set to false then code needs to be manually started from the ECAL debug server console.
  • trace: (optional) Enable tracing messages for debug adapter (useful when debugging the debugger).

Developing the extension

In VSCode the extention can be launched and debugged using the included launch configuration. Press F5 to start a VS Code instance with ECAL support extention form the development code.