I/O doesn't seem to be working for ATTINY44

I am having an odd issue trying to get code to work for ATTINY44, with Arduino IDE using ATTinyCore the following code works as expected:

void setup() {
// put your setup code here, to run once:
pinMode(2, OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:
digitalWrite(2, HIGH);
delay(250);
digitalWrite(2, LOW);
delay(1000);
}

The same exact code with exception to adding #include <Arduino.h> in PlatformIO does NOT work. Interestingly I CAN use analogWrite on pin 5, which DOES work.

platformio.ini
[env:attiny44]
platform = atmelavr
board = attiny44
framework = arduino
upload_protocol = stk500v1
upload_flags =
-P$UPLOAD_PORT
-b$UPLOAD_SPEED
-v

upload_port = COM9
upload_speed = 19200

Meaning no toggling or wrong timing?

I do not see any pin toggling of any sort. Since this chip lacks a uart its damn difficult to tell whats going on without using pin toggling for debugging. I scoped the pin outputs, nada

Since analogWrite seems to be working I put the following code in and tried it to see what would happen, there is other code beyond the loop but this is what is relevant. Of note is that the loop is running, on Pin 5 I can see the PWM changing, but nothing on digitalWrite pins.

void loop() {
if (millis() - tr > 100) {
digitalWrite(3,LOW);
tr = millis() - (millis()+1);
tmpCount+= 1;
analogWrite(SC_PIN,tmpCount);
}
if (millis() - tt > 500) {
if (ls) {
ls = false;
digitalWrite(2,HIGH);
} else {
ls = true;
digitalWrite(2, LOW);
}
tt = millis();
}

}