Questions tagged [github-codespaces]
114 questions
0
votes
0 answers
How to forward X11 in Github Codespaces in VSCode
I can successfully forward X11 by connecting to my Github Codespace via
$ gh cs ssh
as my ~/.ssh/config includes
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
ForwardX11 yes
ForwardX11Trusted yes
and I am…

kalaracey
- 815
- 1
- 12
- 28
0
votes
0 answers
Github Codespaces set up test MySQL server
I have a MySQL server in production and at the moment for testing as well. I have a Dockerfile that installs dependencies in my codespace. How could I add a MySQL server that spins up with the devcontainer?

Lucien
- 776
- 3
- 12
- 40
0
votes
0 answers
How to run mongodb server in Github Codespace container?
I'm trying to setup a Codespace container so that I'll be able to use MongoDB server. Simple installation described on the MongoDB website doesn't work. The installation succeeds however I'm not able to use systemctl to run the service. On the other…

VIPPER
- 326
- 4
- 24
0
votes
0 answers
Github code spaces restrict IP adresses/authentication
I wonder if there is a way of restricting the access to your restful service running in a GitHub code space? Like a whitelist of ip addresses and if there is a way of requiring an auth token?
I have been looking at a bunch of tutorials and trying to…

Jan
- 338
- 3
- 18
0
votes
0 answers
Launch Configuration for Github Codespaces in VSCode
I have a very simple HTML app which has associated CSS/JS. I was wondering how would I configure launch.json in VSCode (Running in Github Codespaces) to run as a basic webroot server.
Currently I have
{
// Use IntelliSense to learn about…

sandeepzgk
- 511
- 2
- 6
- 16
0
votes
0 answers
bad interpreter: no such file or directory on some files, but not all
I have two python scripts in the same folder that I am trying to run in a Github Codespace.
I used which python3 and my output is /opt/python//bin/python3. I am using the symlink stable instead of to make my scripts…

John Ingram
- 164
- 1
- 12
0
votes
0 answers
How to make codespace port always public when server reload?
I am just learning to use Github Codespace for an ExpressJS application, and I have one annoying experience: as I use nodemon, each time the server reload due to file changes, codespace port will revert to private visibility. I always need to mark…

swdev
- 4,997
- 8
- 64
- 106
0
votes
0 answers
Code autocompletion (emmet) not working on github codespace for HTML
I am new to codespace and am not getting any code autocompletion for HTML. Checked emmet, it should work, but it's not. What could be the problem?
I added this to settings.json and it's still not working
"emmet.triggerExpansionOnTab": true,
…

Rashed Azzam
- 1
- 1
0
votes
0 answers
branches of git repo not showing in vscode using local devcontainer
I have a repo on github configured with codespaces. When opening codespaces on github in the cloud everything works and I can easily switch between branches.
Now I checked out the same repo locally on my windows machine an opened it with my local…

mwinterm
- 1
0
votes
1 answer
Visual studio code for CS50 asks me to reload over and over again
I'm doing the Harvard's CS50’s Introduction to Computer Science course and I've been trying to open my codespace in visual studio code for almost a month now, it used to work, but now it always tells me to reload the window, i reload it and the same…

Camila
- 1
0
votes
0 answers
Couldn't install QT5 base with VCPKG
I decided to learn C++ GUI development with Qt5 using Visual Studio Code remotely (for personal preference) and from what I found in order to install Qt from command line, you need to use VCPKG file manager. But as I typed, vcpkg/vcpkg install…

Владислав Король
- 157
- 2
- 10
0
votes
1 answer
Using GitHub Codespaces secrets in devcontainer.json
Problem
Some library I use requires the case sensitive environment variable QXToken.
When I create a codespaces secret the environment variable is only available in uppercase (QXTOKEN), as the secrets are case insensitive. Therefore I want to copy…

Night Train
- 2,383
- 3
- 18
- 35
0
votes
0 answers
Debug repository coded in plain javascript with github codespaces
I am trying to debug a project on github codespace.
However, the node debugger does not stop at the breakpoints.
That's my vscode debug config file:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of…

Carol.Kar
- 4,581
- 36
- 131
- 264
0
votes
1 answer
turbo confirm with rails 7.0.3 not working on Github Codespaces?
There are already answers on how to make the confirm button works with DELETE in Rails 7 as Rails 7 now prefer Hotwired Stimulus than Turbo. They are answered here: How to call confirm prompt using button_to in Rails with Turbo. The accepted answer…

Wabinab
- 21
- 2
- 4
0
votes
1 answer
how can dotfile executeable issue on codespace?
Good day!
when I enable Automatically install dotfiles in the GitHub codespace setting and follow create codespace, my dotfiles are not found, and the install script is not run!
my dotfile repo
When I see the log, codespace says install.sh script…

njfamirm
- 164
- 2
- 12