firebase / firebase/firebase-tools

Cannot attach a debugger to Firebase Python Functions

Open
#6,838 33 comments 43 reactions 1 assignee Claimed by @taeold View on GitHub
emulators: functions integration: python type: feature request
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [REQUIRED] Environment info

**firebase-tools:** 12.9.1

**Platform:** Windows / macOS

### [REQUIRED] Test case

Run emulator with `--inspect-functions` flag:

```
firebase emulators:start --project demo-project --inspect-functions
```

### [REQUIRED] Steps to reproduce

Run emulator with `--inspect-functions` flag:

```
firebase emulators:start --project demo-project --inspect-functions
```

This message appears in the console:

```
> Debugger attached.
! --inspect-functions not supported for Python functions. Ignored.
```

### [REQUIRED] Expected behavior

Debugger would attach to Python functions

### [REQUIRED] Actual behavior

Receive a message in the Console that debugger is not supported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.