Raspberry Pi: How to remote debug Dart command line applications in IntelliJ

  • Ubuntu 18.04 LTS
  • IntelliJ IDEA Community 2018.3
  • Raspberry Pi 3 Model B

Create Dart Remote Debug configuration for your Dart application:

Ubuntu terminal

Copy your application and open an ssh session to Raspberry Pi :

$ scp -r dartapp/ pi@
$ ssh pi@
SSH session on Raspberry Pi
$ cd ~/dartapp
$ pub get
Resolving dependencies... (1.9s)
Got dependencies!
$ dart --enable-vm-service:5858/ --pause_isolates_on_start bin/main.dart 
Observatory listening on

Now you can start debugging your application in IntelliJ.