Hi All - I've been exploring changes to the OpenBuilds CONTROL software using VS Code. I am successful in making changes to probing function and generating a new dmg package on OSX. However I'm running into issues with debugger and the USB passthrough. Your excellent code and my basic tweaks opens with the Live Server extension but I no longer have access to the USB port to connect to Black Box. I'd appreciate some direction... cheers - Brad
I dont use VSCode, so can't help with that issue in particular. I use the regular node inspection tools : OpenBuilds/OpenBuilds-CONTROL
Thanks for the reply... I was able to connect and get a snapshot. But this doesn't appear to allow me to debug with watchpoints, examine variables, etc... I've cloned the project, can successfully build it, run my code changes, but haven't figured out how to get USB working in the debugger instance. Hopefully someone in our community is developing in OS X and can provide some guidance. Cheers - Brad
But why though USB is handled by the SerialPort library (well, USB is handled by the device driver, presenting just a plain serial port to the OS, to which Node Serialport connects: About SerialPort | Node Serialport
Hello Peter, my name is Armin from Germany and I try to make some changes for fluidnc in your amazing Openbuilds control app. I have the problem in VSC as well as in Google's devtools that I can't link the source files to the debugger (unbind) and therefore I can't set breakpoints, for example. According to my research, I would have to run the build script once, but I can't find any hints there either. Please give me some hints and get me out of my "brain-tunnel" . Thank you in advance
I don't use VSCode myself, so can't confirm, but glad to hear someones picking up the FluidNC work. Make sure to check the todolist on FluidNC support · Issue #283 · OpenBuilds/OpenBuilds-CONTROL