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

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.