• Use WSL as @Wilberforce already recommended. Or of course you can use an Ubuntu VM. You can use VS Code with the remote WSL extensions, makes modifying files much easier...

    Just install WSL, VSCode, "Remote - WSL" extension

    • Start a new VSCode & launch WSL
    • open the terminal in VSCode
    • cd ~ (if you are not there by default)
    • git clone https://github.com/espruino/Espruino.git­
    • Press the "Open Folder" button
    • and follow the Linux instructions :)

    One rookie mistake I did: don't try to use WSL in your regular windows file system (by default you are at something like /mnt/c/something == c:\something). Clone the Espruino repo into a WSL directory, otherwise bash scripts just went crazy.

    As for debugging: AFAIK you won't be able to single step debug the Espruino code as easily as you could do from VS. There gdb, but that itself has a steep learning curve afaik.

  • Sun 2019.08.25

    Thank you @AkosLukacs for the additional tidy summary.

    'There gdb, but that itself has a steep learning curve afaik.'

    Found this ten minute overview of GDB, which supplies the basics,

    https://www.youtube.com/watch?v=sCtY--xR­UyI

    and there is VSCode, Git and Bash to learn on top of it all.



    With only a basic introduction with RedHat over a decade ago, this process will feel like starting from scratch in an entirely new environment. Planning on chunking, maybe an hour a week, until I'm up to speed.

    With three Espruino projects in the works, will even have to delay that thought. A winter starter perhaps.

About

Avatar for Robin @Robin started