Extension Can’t Connect to Native Host
- Verify the Extension ID in
com.notepad.launcher.jsonmatches your actual ID exactly. - Check the
pathin the manifest points to the correct file location. - Ensure Python is in your PATH:
python --version - Confirm the registry was properly updated (Windows).
- Restart Edge/Chrome after making any changes.
Python Not Found
- Install Python from python.org
- On Windows, use
native_host.batinstead ofnative_host.pyin the manifest, and update the batch file to use the full path topython.exe
Permission Denied (Linux / macOS)
Registry Changes Don’t Take Effect (Windows)
- Fully close Edge (check Task Manager — kill all
msedge.exeprocesses) - Double-click the
.regfile again - Restart Edge
Debugging
Native host:- Uncomment the logging code in
native_host.py - Check the log file for errors
- Test the script manually from the command line
- Open
edge://extensions/ - Click Inspect views: service worker under your extension
- Check the console for error messages
