Getting Started¶
Prerequisites¶
You will need to have Code Composer Studio installed along with drivers for any devices you plan to use (offered during installation of CCS or available in CCS’s Resource Explorer).
Install¶
git clone https://github.com/webbcam/debugserver-js.git
Configure¶
Open the file: run-server.sh
and modify the CCS_EXE_PATH
variable to
reflect your machine and CCS installation location.
Launch¶
Open a terminal and run the run-server.sh
script. (Leave this terminal
running in background)
Mac OS or Linux¶
./run-server.sh 4444
Windows¶
./run-server.bat 4444
Connecting¶
Once the DebugServer is running, you can then connect to the Server’s socket using any language that supports sockets. Here we show an example in Python:
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("localhost", 4444))